Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01039/0.01039, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.69 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.276, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002433/0.2785, allocations: 1.344 MB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1421/0.4207, allocations: 145.3 MB / 1.196 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.4207, allocations: 0 / 1.196 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.4208, allocations: 7.938 kB / 1.196 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.4208, allocations: 4 kB / 1.196 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.4213, allocations: 99.55 kB / 1.196 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.4213, allocations: 19.81 kB / 1.196 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.4214, allocations: 3.984 kB / 1.196 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.4214, allocations: 8 kB / 1.196 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.4215, allocations: 7.984 kB / 1.196 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.4215, allocations: 0 / 1.196 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.422, allocations: 179.6 kB / 1.196 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.422, allocations: 7.938 kB / 1.196 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.422, allocations: 11.98 kB / 1.196 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.4222, allocations: 80.09 kB / 1.196 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4222, allocations: 0 / 1.196 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.02e-07/0.4222, allocations: 0 / 1.196 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.4222, allocations: 0 / 1.196 GB, free: 4.574 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003451/0.4226, allocations: 343.5 kB / 1.197 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4226, allocations: 12.03 kB / 1.197 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.4232, allocations: 36.89 kB / 1.197 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.4233, allocations: 168.2 kB / 1.197 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4233, allocations: 7.938 kB / 1.197 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4233, allocations: 0 / 1.197 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.4235, allocations: 49.66 kB / 1.197 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4235, allocations: 8 kB / 1.197 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4235, allocations: 3.984 kB / 1.197 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4235, allocations: 0 / 1.197 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4237, allocations: 23.91 kB / 1.197 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.4241, allocations: 248.9 kB / 1.197 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.371e-05/0.4241, allocations: 26.58 kB / 1.197 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.4241, allocations: 12.92 kB / 1.197 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.4242, allocations: 3.938 kB / 1.197 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.4242, allocations: 30.56 kB / 1.197 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4242, allocations: 0 / 1.197 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.4244, allocations: 45.62 kB / 1.197 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.4244, allocations: 55.41 kB / 1.197 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4246, allocations: 113.9 kB / 1.198 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.4246, allocations: 25.7 kB / 1.198 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.4246, allocations: 84.05 kB / 1.198 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.4247, allocations: 15.97 kB / 1.198 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.4247, allocations: 21.61 kB / 1.198 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4248, allocations: 314.8 kB / 1.198 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.4249, allocations: 15.98 kB / 1.198 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.425, allocations: 11.98 kB / 1.198 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.4251, allocations: 16.86 kB / 1.198 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4251, allocations: 0 / 1.198 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001871/0.4253, allocations: 65.59 kB / 1.198 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4253, allocations: 4 kB / 1.198 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4253, allocations: 4 kB / 1.198 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4253, allocations: 4 kB / 1.198 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.4254, allocations: 7.984 kB / 1.198 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4255, allocations: 0 / 1.198 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.4256, allocations: 15.92 kB / 1.198 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.4256, allocations: 0 / 1.198 GB, free: 2.59 MB / 0.9512 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 (3): * Single equations (assignments): 3 * 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 7.481e-05/0.4257, allocations: 105.8 kB / 1.198 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.4257, allocations: 4 kB / 1.198 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.4258, allocations: 11.12 kB / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4258, allocations: 0 / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4258, allocations: 0 / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4258, allocations: 3.938 kB / 1.198 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.4259, allocations: 149.7 kB / 1.198 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.426, allocations: 0 / 1.198 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.426, allocations: 11.92 kB / 1.198 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.426, allocations: 0 / 1.198 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.426, allocations: 4 kB / 1.198 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.426, allocations: 0 / 1.198 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.426, allocations: 4 kB / 1.198 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.4261, allocations: 135.5 kB / 1.199 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.4262, allocations: 85.33 kB / 1.199 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.4262, allocations: 0 / 1.199 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4263, allocations: 8 kB / 1.199 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.4263, allocations: 3.984 kB / 1.199 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4264, allocations: 7.875 kB / 1.199 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.645e-05/0.4265, allocations: 99.23 kB / 1.199 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4265, allocations: 0 / 1.199 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000253/0.4267, allocations: 19.94 kB / 1.199 GB, free: 1.859 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0001673/0.4269, allocations: 107.2 kB / 1.199 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.427, allocations: 23.92 kB / 1.199 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4271, allocations: 4 kB / 1.199 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.4271, allocations: 7.984 kB / 1.199 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.4274, allocations: 7.938 kB / 1.199 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.4277, allocations: 138.7 kB / 1.199 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.428, allocations: 0.677 MB / 1.2 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.4281, allocations: 15.44 kB / 1.2 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.4281, allocations: 4 kB / 1.2 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of Templates: time 0.002206/0.4303, allocations: 0.8004 MB / 1.2 GB, free: 16 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches