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.001712/0.001712, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002234/0.002234, allocations: 211.4 kB / 22.25 MB, free: 5.262 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.793 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.216/3.216, allocations: 0.4892 GB / 0.7943 GB, free: 35.74 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [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.002042/0.002042, allocations: 71.25 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.357, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004222/0.3613, allocations: 1.857 MB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.5494, allocations: 136.7 MB / 1.461 GB, free: 6.668 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.5496, allocations: 7.938 kB / 1.461 GB, free: 6.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.5498, allocations: 23.73 kB / 1.461 GB, free: 6.637 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.5502, allocations: 83.41 kB / 1.461 GB, free: 6.555 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.551, allocations: 265.4 kB / 1.461 GB, free: 6.297 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000403/0.5514, allocations: 275 kB / 1.461 GB, free: 6.027 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.5516, allocations: 42.56 kB / 1.462 GB, free: 5.984 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.5533, allocations: 263 kB / 1.462 GB, free: 5.75 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.5535, allocations: 87.59 kB / 1.462 GB, free: 5.664 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.5535, allocations: 16 kB / 1.462 GB, free: 5.648 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.554, allocations: 175.7 kB / 1.462 GB, free: 5.477 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.554, allocations: 43.84 kB / 1.462 GB, free: 5.434 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.5541, allocations: 83.64 kB / 1.462 GB, free: 5.352 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.5547, allocations: 294.8 kB / 1.462 GB, free: 5.062 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5547, allocations: 0 / 1.462 GB, free: 5.062 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5547, allocations: 0 / 1.462 GB, free: 5.062 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.5547, allocations: 4 kB / 1.462 GB, free: 5.059 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.001036/0.5557, allocations: 465.2 kB / 1.463 GB, free: 4.574 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5558, allocations: 12.03 kB / 1.463 GB, free: 4.562 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.557, allocations: 111.7 kB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.5574, allocations: 173.8 kB / 1.463 GB, free: 4.258 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5575, allocations: 63.73 kB / 1.463 GB, free: 4.184 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.5575, allocations: 16 kB / 1.463 GB, free: 4.168 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.5581, allocations: 318 kB / 1.464 GB, free: 3.816 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5581, allocations: 0 / 1.464 GB, free: 3.816 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.5582, allocations: 8 kB / 1.464 GB, free: 3.809 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.5582, allocations: 4 kB / 1.464 GB, free: 3.805 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.5586, allocations: 164.3 kB / 1.464 GB, free: 3.645 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.5604, allocations: 1.075 MB / 1.465 GB, free: 2.512 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.5612, allocations: 198.7 kB / 1.465 GB, free: 2.309 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.5614, allocations: 64.77 kB / 1.465 GB, free: 2.242 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.5614, allocations: 0 / 1.465 GB, free: 2.242 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.5615, allocations: 46.48 kB / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.5615, allocations: 0 / 1.465 GB, free: 2.188 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002697/0.5642, allocations: 482.7 kB / 1.466 GB, free: 1.703 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.5642, allocations: 59.41 kB / 1.466 GB, free: 1.633 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.5645, allocations: 190.3 kB / 1.466 GB, free: 1.434 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.5645, allocations: 25.7 kB / 1.466 GB, free: 1.402 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.5647, allocations: 144.2 kB / 1.466 GB, free: 1.258 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.5647, allocations: 47.62 kB / 1.466 GB, free: 1.211 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.5648, allocations: 49.62 kB / 1.466 GB, free: 1.156 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.565, allocations: 330.8 kB / 1.466 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.5653, allocations: 67.94 kB / 1.466 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.5656, allocations: 158.3 kB / 1.467 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.5661, allocations: 200 kB / 1.467 GB, free: 360 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5661, allocations: 3.938 kB / 1.467 GB, free: 356 kB / 1.154 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001486/0.5676, allocations: 375 kB / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5676, allocations: 6.188 kB / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5676, allocations: 4 kB / 1.467 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.5688, allocations: 161.4 kB / 1.467 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.569, allocations: 39.97 kB / 1.467 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.5734, allocations: 2.996 MB / 1.47 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.5738, allocations: 35.81 kB / 1.47 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.5738, allocations: 8 kB / 1.47 GB, free: 12.51 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.0001759/0.574, allocations: 137.8 kB / 1.47 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.574, allocations: 15.89 kB / 1.47 GB, free: 12.35 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.5754, allocations: 368.3 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5754, allocations: 4 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.5754, allocations: 0 / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5754, allocations: 3.984 kB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.5757, allocations: 193.1 kB / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5757, allocations: 0 / 1.471 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.5758, allocations: 19.98 kB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.5766, allocations: 141.5 kB / 1.471 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.5766, allocations: 8 kB / 1.471 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.5805, allocations: 3.037 MB / 1.474 GB, free: 8.324 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5805, allocations: 3.938 kB / 1.474 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.5818, allocations: 430.9 kB / 1.475 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.5819, allocations: 31.83 kB / 1.475 GB, free: 7.848 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.5819, allocations: 4 kB / 1.475 GB, free: 7.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.5822, allocations: 23.92 kB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.5823, allocations: 15.95 kB / 1.475 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.5823, allocations: 8 kB / 1.475 GB, free: 7.797 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001624/0.5825, allocations: 136.3 kB / 1.475 GB, free: 7.664 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5825, allocations: 0 / 1.475 GB, free: 7.664 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00043/0.5829, allocations: 71.89 kB / 1.475 GB, free: 7.594 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.0002094/0.5831, allocations: 123.9 kB / 1.475 GB, free: 7.461 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.5842, allocations: 449.6 kB / 1.475 GB, free: 6.996 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5842, allocations: 0 / 1.475 GB, free: 6.996 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.585, allocations: 349.2 kB / 1.476 GB, free: 6.629 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.5854, allocations: 56.25 kB / 1.476 GB, free: 6.574 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009781/0.5863, allocations: 418.3 kB / 1.476 GB, free: 6.141 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.5865, allocations: 128.4 kB / 1.476 GB, free: 6 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.5866, allocations: 33.42 kB / 1.476 GB, free: 5.969 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.5867, allocations: 23.42 kB / 1.476 GB, free: 5.945 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/0.5867, allocations: 0 / 1.476 GB, free: 5.945 MB / 1.17 GB Notification: Performance of Templates: time 0.01026/0.5969, allocations: 5.042 MB / 1.481 GB, free: 0.9805 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] 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: 9.474247673526406]