Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 181.2 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003923, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7503, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.0007092/0.7511, allocations: 405 kB / 0.9561 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.7525, allocations: 1.37 MB / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.7525, allocations: 0 / 0.9574 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.7526, allocations: 3.938 kB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.7526, allocations: 6.094 kB / 0.9575 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.7529, allocations: 88.19 kB / 0.9575 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.753, allocations: 51.06 kB / 0.9576 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.7531, allocations: 8.438 kB / 0.9576 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.7532, allocations: 18.73 kB / 0.9576 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.7532, allocations: 18.52 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.7533, allocations: 2.219 kB / 0.9576 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.7535, allocations: 154.3 kB / 0.9578 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.7535, allocations: 4.953 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.7536, allocations: 42.58 kB / 0.9578 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.7537, allocations: 93.05 kB / 0.9579 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7537, allocations: 3.938 kB / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7537, allocations: 0 / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7537, allocations: 1.125 kB / 0.9579 GB, free: 6.059 MB / 0.7169 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.0004138/0.7542, allocations: 377.5 kB / 0.9583 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7542, allocations: 9.281 kB / 0.9583 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.7546, allocations: 34.5 kB / 0.9583 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.898e-05/0.7547, allocations: 170.7 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.7547, allocations: 10.91 kB / 0.9585 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.7547, allocations: 6.312 kB / 0.9585 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.755, allocations: 82.39 kB / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.755, allocations: 192 / 0.9586 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.755, allocations: 9.641 kB / 0.9586 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.755, allocations: 4 kB / 0.9586 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.7553, allocations: 79.67 kB / 0.9587 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.7558, allocations: 319.5 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.7561, allocations: 90.23 kB / 0.9591 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.7563, allocations: 42.88 kB / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.7563, allocations: 0 / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.7563, allocations: 31.94 kB / 0.9591 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.7563, allocations: 3.984 kB / 0.9591 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005255/0.7568, allocations: 148 kB / 0.9593 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.7569, allocations: 56.53 kB / 0.9593 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.7569, allocations: 113.9 kB / 0.9594 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.757, allocations: 26.67 kB / 0.9595 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.757, allocations: 85.86 kB / 0.9595 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.757, allocations: 18.17 kB / 0.9596 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.757, allocations: 15.06 kB / 0.9596 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.7571, allocations: 315.8 kB / 0.9599 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.7572, allocations: 40.59 kB / 0.9599 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.7574, allocations: 38.09 kB / 0.96 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.7577, allocations: 79.2 kB / 0.96 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7577, allocations: 1.25 kB / 0.96 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003237/0.758, allocations: 120.4 kB / 0.9601 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.758, allocations: 8.047 kB / 0.9602 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.758, allocations: 1.344 kB / 0.9602 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.758, allocations: 0 / 0.9602 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.7582, allocations: 22.33 kB / 0.9602 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7582, allocations: 0 / 0.9602 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.7583, allocations: 17.23 kB / 0.9602 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.7583, allocations: 5.016 kB / 0.9602 GB, free: 3.973 MB / 0.7169 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 5.703e-05/0.7584, allocations: 115.8 kB / 0.9603 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.7584, allocations: 5.984 kB / 0.9603 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.7585, allocations: 13.88 kB / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7585, allocations: 0 / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7585, allocations: 0.9688 kB / 0.9603 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7585, allocations: 4 kB / 0.9603 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.7586, allocations: 179.9 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7586, allocations: 1.25 kB / 0.9605 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.7588, allocations: 24 kB / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7588, allocations: 1.125 kB / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.7588, allocations: 5.219 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7588, allocations: 0 / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7588, allocations: 0 / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.7592, allocations: 205 kB / 0.9607 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.7592, allocations: 82.98 kB / 0.9608 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.7592, allocations: 4 kB / 0.9608 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7593, allocations: 11.8 kB / 0.9608 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.7594, allocations: 6.109 kB / 0.9608 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.7594, allocations: 6 kB / 0.9608 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.7594, allocations: 94.36 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7594, allocations: 0 / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002706/0.7597, allocations: 18.59 kB / 0.9609 GB, free: 3.227 MB / 0.7169 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.0001425/0.7599, allocations: 125 kB / 0.9611 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.7602, allocations: 74.69 kB / 0.9611 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7602, allocations: 5.375 kB / 0.9611 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7604, allocations: 35.34 kB / 0.9612 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.7607, allocations: 17.7 kB / 0.9612 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.7611, allocations: 215.9 kB / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.7612, allocations: 0.685 MB / 0.9621 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.7613, allocations: 15.55 kB / 0.9621 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7613, allocations: 0 / 0.9621 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.00252/0.7638, allocations: 1.111 MB / 0.9632 GB, free: 1.59 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches