Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.002107/0.002107, allocations: 111 kB / 16.46 MB, free: 6.453 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.002351/0.002351, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.362/3.362, allocations: 0.4899 GB / 0.7916 GB, free: 33.48 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.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.002082/0.002082, allocations: 76.03 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4654, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002838/0.4683, allocations: 0.6703 MB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.4706, allocations: 1.408 MB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.4707, allocations: 4 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.4707, allocations: 7.922 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.4708, allocations: 7.938 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.4713, allocations: 103.5 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.4714, allocations: 47.84 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4715, allocations: 15.92 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.4715, allocations: 15.98 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.4716, allocations: 31.84 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.4716, allocations: 4 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.4719, allocations: 151.8 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.472, allocations: 8 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.472, allocations: 19.86 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.4723, allocations: 131.5 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4723, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4723, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4723, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000667/0.4729, allocations: 383.1 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.473, allocations: 15.98 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.4734, allocations: 40.89 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.4736, allocations: 172.3 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4736, allocations: 16.3 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4737, allocations: 384 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.474, allocations: 90.12 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.474, allocations: 192 / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.474, allocations: 3.938 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.474, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.4743, allocations: 67.92 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.475, allocations: 316.7 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.4753, allocations: 78.45 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.4755, allocations: 40.91 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4755, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4755, allocations: 34.56 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4755, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005922/0.4761, allocations: 121.6 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4762, allocations: 55.34 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4763, allocations: 121.8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4763, allocations: 25.7 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.4764, allocations: 92.09 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.4764, allocations: 11.84 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.4764, allocations: 21.7 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4766, allocations: 322.8 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.4768, allocations: 31.97 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.4769, allocations: 27.97 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.4772, allocations: 68.8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4772, allocations: 4 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003614/0.4775, allocations: 101.6 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4776, allocations: 8 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4776, allocations: 0 / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4776, allocations: 0 / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4778, allocations: 15.98 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4778, allocations: 4 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4779, allocations: 15.94 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4779, allocations: 7.984 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.478, allocations: 109.8 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.478, allocations: 8.125 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.478, allocations: 7.906 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4781, allocations: 4 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4781, allocations: 8 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.4781, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.4783, allocations: 185.6 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4783, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4785, allocations: 19.97 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4785, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4785, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4785, allocations: 4 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4785, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.4789, allocations: 199.9 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.479, allocations: 89.05 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.479, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4791, allocations: 11.98 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.4792, allocations: 7.938 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4792, allocations: 4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.4792, allocations: 91.27 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4792, allocations: 0 / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002637/0.4795, allocations: 19.94 kB / 1.327 GB, free: 12.86 MB / 1.029 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.4797, allocations: 114 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.4801, allocations: 75.88 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4801, allocations: 4 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.4803, allocations: 35.95 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.4807, allocations: 11.94 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.4813, allocations: 158.9 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.4816, allocations: 0.6846 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.887e-05/0.4817, allocations: 16.22 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.4818, allocations: 15.44 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.4818, allocations: 0 / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of Templates: time 0.004602/0.4864, allocations: 1.031 MB / 1.329 GB, free: 10.68 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.52718091988936]