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.001344/0.001344, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001423/0.001423, allocations: 214.9 kB / 23.03 MB, free: 4.918 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 66.28 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3674, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004222/0.3717, allocations: 1.871 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.5542, allocations: 136.6 MB / 1.462 GB, free: 6.457 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.5543, allocations: 4 kB / 1.462 GB, free: 6.453 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.5545, allocations: 31.72 kB / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.5549, allocations: 79.42 kB / 1.462 GB, free: 6.344 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.5556, allocations: 262.2 kB / 1.462 GB, free: 6.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.556, allocations: 271 kB / 1.462 GB, free: 5.824 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.5562, allocations: 54.53 kB / 1.463 GB, free: 5.77 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.5577, allocations: 246.6 kB / 1.463 GB, free: 5.551 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.5579, allocations: 95.59 kB / 1.463 GB, free: 5.457 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.5579, allocations: 12 kB / 1.463 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.5584, allocations: 195.6 kB / 1.463 GB, free: 5.254 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.5584, allocations: 39.91 kB / 1.463 GB, free: 5.215 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.5585, allocations: 79.64 kB / 1.463 GB, free: 5.137 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.5591, allocations: 298.8 kB / 1.463 GB, free: 4.844 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5591, allocations: 0 / 1.463 GB, free: 4.844 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5591, allocations: 0 / 1.463 GB, free: 4.844 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.5591, allocations: 0 / 1.463 GB, free: 4.844 MB / 1.154 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.001022/0.5601, allocations: 465.3 kB / 1.464 GB, free: 4.359 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5601, allocations: 8.031 kB / 1.464 GB, free: 4.352 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.057e-05/0.5602, allocations: 4.328 kB / 1.464 GB, free: 4.348 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.5602, allocations: 54.55 kB / 1.464 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.5615, allocations: 115.7 kB / 1.464 GB, free: 4.172 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.5618, allocations: 173.8 kB / 1.464 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.5618, allocations: 67.73 kB / 1.464 GB, free: 3.898 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.5619, allocations: 16 kB / 1.464 GB, free: 3.883 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.5625, allocations: 314 kB / 1.465 GB, free: 3.535 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5625, allocations: 3.938 kB / 1.465 GB, free: 3.531 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.5626, allocations: 8 kB / 1.465 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5626, allocations: 4 kB / 1.465 GB, free: 3.52 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.563, allocations: 168.3 kB / 1.465 GB, free: 3.355 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5649, allocations: 1.11 MB / 1.466 GB, free: 2.176 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.5657, allocations: 198.6 kB / 1.466 GB, free: 1.973 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.5659, allocations: 64.81 kB / 1.466 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.5659, allocations: 4 kB / 1.466 GB, free: 1.902 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.5659, allocations: 38.5 kB / 1.466 GB, free: 1.855 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.5659, allocations: 0 / 1.466 GB, free: 1.855 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002814/0.5688, allocations: 494.7 kB / 1.467 GB, free: 1.359 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.5688, allocations: 55.41 kB / 1.467 GB, free: 1.293 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.5691, allocations: 214.9 kB / 1.467 GB, free: 1.07 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.5691, allocations: 25.7 kB / 1.467 GB, free: 1.039 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5692, allocations: 140.2 kB / 1.467 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.5693, allocations: 47.64 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5694, allocations: 53.58 kB / 1.467 GB, free: 0.793 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5696, allocations: 326.8 kB / 1.467 GB, free: 476 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.5698, allocations: 75.88 kB / 1.468 GB, free: 400 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.5701, allocations: 158.6 kB / 1.468 GB, free: 208 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.5706, allocations: 198.8 kB / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5706, allocations: 0 / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001604/0.5722, allocations: 381.8 kB / 1.468 GB, free: 15.6 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5722, allocations: 8 kB / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5722, allocations: 0 / 1.468 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5734, allocations: 165.8 kB / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.5736, allocations: 35.91 kB / 1.468 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.578, allocations: 3.031 MB / 1.471 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.5784, allocations: 43.77 kB / 1.471 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.5784, allocations: 11.94 kB / 1.471 GB, free: 12.07 MB / 1.17 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 0.0001749/0.5786, allocations: 133.7 kB / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.5786, allocations: 19.91 kB / 1.472 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.5801, allocations: 372.2 kB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5801, allocations: 4 kB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.5801, allocations: 0 / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5801, allocations: 0 / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.5804, allocations: 228.5 kB / 1.472 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5804, allocations: 0 / 1.472 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.5806, allocations: 27.92 kB / 1.472 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008785/0.5815, allocations: 137.7 kB / 1.472 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.5815, allocations: 4 kB / 1.472 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004176/0.5857, allocations: 3.091 MB / 1.475 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5857, allocations: 3.938 kB / 1.475 GB, free: 7.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.5871, allocations: 435 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5872, allocations: 43.75 kB / 1.476 GB, free: 7.262 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.5872, allocations: 4 kB / 1.476 GB, free: 7.258 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.5875, allocations: 11.98 kB / 1.476 GB, free: 7.246 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.5876, allocations: 19.88 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.5877, allocations: 7.984 kB / 1.476 GB, free: 7.219 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002061/0.5879, allocations: 163.2 kB / 1.476 GB, free: 7.059 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5879, allocations: 0 / 1.476 GB, free: 7.059 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004413/0.5883, allocations: 75.89 kB / 1.476 GB, free: 6.984 MB / 1.17 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.001756/0.5901, allocations: 0.9693 MB / 1.477 GB, free: 5.98 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.5913, allocations: 441.7 kB / 1.477 GB, free: 5.523 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5913, allocations: 0 / 1.477 GB, free: 5.523 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.592, allocations: 365.1 kB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.5925, allocations: 65.62 kB / 1.478 GB, free: 5.078 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005506/0.598, allocations: 2.523 MB / 1.48 GB, free: 2.426 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.5981, allocations: 124.5 kB / 1.48 GB, free: 2.285 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.5983, allocations: 37.92 kB / 1.48 GB, free: 2.25 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.5985, allocations: 59.41 kB / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/0.5985, allocations: 0 / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.6365, allocations: 7.718 MB / 1.488 GB, free: 10.73 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.96, allocations: 9.328 kB / 1.488 GB, free: 10.72 MB / 1.186 GB " [Timeout remaining time 286] (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/jenkins1/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: 21.0563015419757]