Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8851/0.8851, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.738/1.738, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.276e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002726/0.002749, allocations: 1.878 MB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.546/0.5487, allocations: 136.7 MB / 1.116 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.5488, allocations: 1.406 kB / 1.116 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.549, allocations: 31.58 kB / 1.116 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.5493, allocations: 80.38 kB / 1.116 GB, free: 19.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.55, allocations: 266.5 kB / 1.117 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.5503, allocations: 274.8 kB / 1.117 GB, free: 18.99 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.5505, allocations: 56.64 kB / 1.117 GB, free: 18.96 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.5515, allocations: 291.2 kB / 1.117 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.5516, allocations: 73.2 kB / 1.117 GB, free: 18.85 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.5516, allocations: 15.81 kB / 1.117 GB, free: 18.85 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.5519, allocations: 179.7 kB / 1.117 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.5519, allocations: 44.95 kB / 1.118 GB, free: 18.78 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.552, allocations: 70.58 kB / 1.118 GB, free: 18.75 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.5524, allocations: 316.3 kB / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5524, allocations: 0 / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5524, allocations: 4 kB / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5524, allocations: 0 / 1.118 GB, free: 18.64 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006599/0.5531, allocations: 477.2 kB / 1.118 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5531, allocations: 10.58 kB / 1.118 GB, free: 18.27 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.5532, allocations: 47.95 kB / 1.118 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.5538, allocations: 117.9 kB / 1.119 GB, free: 18.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.5541, allocations: 162 kB / 1.119 GB, free: 18.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.5541, allocations: 69.03 kB / 1.119 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.5541, allocations: 21.75 kB / 1.119 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.5545, allocations: 313.7 kB / 1.119 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.5545, allocations: 9.125 kB / 1.119 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.5545, allocations: 6.094 kB / 1.119 GB, free: 17.74 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5546, allocations: 4.438 kB / 1.119 GB, free: 17.74 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.5548, allocations: 165.4 kB / 1.119 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.5558, allocations: 1.118 MB / 1.12 GB, free: 16.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.5562, allocations: 204.1 kB / 1.121 GB, free: 16.67 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5563, allocations: 63.05 kB / 1.121 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5564, allocations: 6.156 kB / 1.121 GB, free: 16.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.5564, allocations: 31.81 kB / 1.121 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.5564, allocations: 1.375 kB / 1.121 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001384/0.5578, allocations: 494.6 kB / 1.121 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.5578, allocations: 53.11 kB / 1.121 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.5579, allocations: 220.1 kB / 1.121 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.558, allocations: 31.55 kB / 1.121 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.558, allocations: 141.8 kB / 1.122 GB, free: 16.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.558, allocations: 41.06 kB / 1.122 GB, free: 16.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.5581, allocations: 45.42 kB / 1.122 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.5581, allocations: 331.8 kB / 1.122 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5583, allocations: 69.91 kB / 1.122 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.5584, allocations: 160.3 kB / 1.122 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.5587, allocations: 198.5 kB / 1.122 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5587, allocations: 6.281 kB / 1.122 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007696/0.5595, allocations: 374.3 kB / 1.123 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5595, allocations: 5.719 kB / 1.123 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5595, allocations: 7.078 kB / 1.123 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.56, allocations: 157.4 kB / 1.123 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5601, allocations: 40.41 kB / 1.123 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.5621, allocations: 3.032 MB / 1.126 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.5623, allocations: 34.95 kB / 1.126 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5623, allocations: 12.56 kB / 1.126 GB, free: 12.48 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/0.5624, allocations: 132 kB / 1.126 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.5624, allocations: 18.27 kB / 1.126 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.5631, allocations: 371.9 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5631, allocations: 6.375 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.5631, allocations: 0 / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5631, allocations: 2.562 kB / 1.126 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.5633, allocations: 228.4 kB / 1.127 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5633, allocations: 0.6094 kB / 1.127 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.5634, allocations: 22.73 kB / 1.127 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.5638, allocations: 144.8 kB / 1.127 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5638, allocations: 1.828 kB / 1.127 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.5655, allocations: 3.081 MB / 1.13 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5655, allocations: 1.312 kB / 1.13 GB, free: 9.164 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.5661, allocations: 430 kB / 1.13 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.5662, allocations: 32.75 kB / 1.13 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.5662, allocations: 3.391 kB / 1.13 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5663, allocations: 18.55 kB / 1.13 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.5664, allocations: 24.19 kB / 1.13 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5664, allocations: 5.734 kB / 1.13 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001027/0.5665, allocations: 156.6 kB / 1.13 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5665, allocations: 0 / 1.13 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003061/0.5668, allocations: 71.77 kB / 1.131 GB, free: 8.793 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000817/0.5676, allocations: 0.9809 MB / 1.131 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005605/0.5682, allocations: 439.7 kB / 1.132 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5682, allocations: 0 / 1.132 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.5685, allocations: 349.7 kB / 1.132 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.5688, allocations: 56.69 kB / 1.132 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.5715, allocations: 2.545 MB / 1.135 GB, free: 5.734 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.829e-05/0.5716, allocations: 125.5 kB / 1.135 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.5718, allocations: 32.19 kB / 1.135 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.5718, allocations: 58.27 kB / 1.135 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.5718, allocations: 4 kB / 1.135 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.5978, allocations: 8.161 MB / 1.143 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.737, allocations: 7.016 kB / 1.143 GB, free: 4.191 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.76731704454869]