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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001642/0.001642, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001801/0.001801, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 63.78 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3387, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002979/0.3417, allocations: 1.345 MB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.5, allocations: 145.4 MB / 1.211 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.5, allocations: 0 / 1.211 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.5001, allocations: 0 / 1.211 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.5002, allocations: 15.91 kB / 1.211 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.5007, allocations: 95.56 kB / 1.211 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.649e-05/0.5007, allocations: 23.86 kB / 1.211 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.5008, allocations: 8 kB / 1.211 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.5008, allocations: 7.938 kB / 1.211 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.5009, allocations: 7.938 kB / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.5009, allocations: 0 / 1.211 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.5013, allocations: 171.7 kB / 1.211 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.5013, allocations: 8 kB / 1.211 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.5014, allocations: 11.94 kB / 1.211 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.5017, allocations: 112 kB / 1.211 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5017, allocations: 0 / 1.211 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5017, allocations: 0 / 1.211 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.5017, allocations: 0 / 1.211 GB, free: 7.18 MB / 0.9669 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.0003739/0.5021, allocations: 355.4 kB / 1.212 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5021, allocations: 8.031 kB / 1.212 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.5027, allocations: 36.89 kB / 1.212 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5028, allocations: 168.3 kB / 1.212 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5029, allocations: 3.938 kB / 1.212 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.5029, allocations: 0 / 1.212 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.5031, allocations: 49.66 kB / 1.212 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5031, allocations: 3.984 kB / 1.212 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5031, allocations: 0 / 1.212 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5031, allocations: 4 kB / 1.212 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.5032, allocations: 27.91 kB / 1.212 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.5036, allocations: 248.9 kB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.5037, allocations: 22.58 kB / 1.212 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.5037, allocations: 16.91 kB / 1.212 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.5037, allocations: 0 / 1.212 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5038, allocations: 30.56 kB / 1.212 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.5038, allocations: 0 / 1.212 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.5039, allocations: 45.64 kB / 1.212 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.504, allocations: 55.34 kB / 1.212 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.5041, allocations: 114 kB / 1.212 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.5041, allocations: 25.7 kB / 1.212 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.5042, allocations: 92.05 kB / 1.212 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.5042, allocations: 3.906 kB / 1.212 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.5043, allocations: 17.7 kB / 1.213 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.5044, allocations: 318.8 kB / 1.213 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.5044, allocations: 11.98 kB / 1.213 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.5045, allocations: 11.98 kB / 1.213 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.059e-05/0.5046, allocations: 24.84 kB / 1.213 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5046, allocations: 0 / 1.213 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001987/0.5048, allocations: 61.61 kB / 1.213 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5048, allocations: 8 kB / 1.213 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5049, allocations: 0 / 1.213 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5049, allocations: 0 / 1.213 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.505, allocations: 15.92 kB / 1.213 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.505, allocations: 0 / 1.213 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.5052, allocations: 15.92 kB / 1.213 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5052, allocations: 0 / 1.213 GB, free: 5.195 MB / 0.9669 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.029e-05/0.5053, allocations: 113.8 kB / 1.213 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.5053, allocations: 4 kB / 1.213 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.5053, allocations: 3.125 kB / 1.213 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5053, allocations: 4 kB / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5053, allocations: 0 / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.5053, allocations: 7.922 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.5055, allocations: 157.6 kB / 1.213 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5055, allocations: 0 / 1.213 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.5055, allocations: 7.938 kB / 1.213 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5055, allocations: 0 / 1.213 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.5056, allocations: 0 / 1.213 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5056, allocations: 0 / 1.213 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5056, allocations: 4 kB / 1.213 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.5057, allocations: 139.8 kB / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.5057, allocations: 77.11 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.5058, allocations: 0 / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5059, allocations: 4 kB / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.5059, allocations: 3.984 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5059, allocations: 3.938 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.506, allocations: 95.3 kB / 1.214 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.41e-07/0.506, allocations: 0 / 1.214 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002532/0.5063, allocations: 19.92 kB / 1.214 GB, free: 4.469 MB / 0.9669 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.0001636/0.5064, allocations: 111.2 kB / 1.214 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.5066, allocations: 31.84 kB / 1.214 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5066, allocations: 0 / 1.214 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.5066, allocations: 4 kB / 1.214 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.507, allocations: 19.06 kB / 1.214 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.5073, allocations: 116.9 kB / 1.214 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.5075, allocations: 0.6731 MB / 1.215 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.896e-05/0.5076, allocations: 7.938 kB / 1.215 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.5076, allocations: 15.42 kB / 1.215 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.5076, allocations: 0 / 1.215 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of Templates: time 0.003087/0.5107, allocations: 0.713 MB / 1.215 GB, free: 2.727 MB / 0.9669 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/jenkins/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