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.00128/0.00128, allocations: 113.6 kB / 16.42 MB, free: 6.508 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.001374/0.001374, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002824/1.068, allocations: 1.293 MB / 1.228 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1728/1.241, allocations: 147.6 MB / 1.372 GB, free: 8.023 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/1.241, allocations: 0 / 1.372 GB, free: 8.023 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/1.241, allocations: 0 / 1.372 GB, free: 8.023 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/1.241, allocations: 11.92 kB / 1.372 GB, free: 8.012 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/1.242, allocations: 123.4 kB / 1.372 GB, free: 7.891 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/1.242, allocations: 23.86 kB / 1.372 GB, free: 7.867 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/1.242, allocations: 0 / 1.372 GB, free: 7.867 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/1.242, allocations: 7.938 kB / 1.372 GB, free: 7.859 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/1.242, allocations: 4 kB / 1.372 GB, free: 7.855 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/1.242, allocations: 0 / 1.372 GB, free: 7.855 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/1.243, allocations: 179.7 kB / 1.372 GB, free: 7.68 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/1.243, allocations: 4 kB / 1.372 GB, free: 7.676 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/1.243, allocations: 7.938 kB / 1.372 GB, free: 7.668 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/1.243, allocations: 116.2 kB / 1.372 GB, free: 7.562 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.243, allocations: 0 / 1.372 GB, free: 7.562 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.242e-06/1.243, allocations: 0 / 1.372 GB, free: 7.562 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.06e-06/1.243, allocations: 0 / 1.372 GB, free: 7.562 MB / 1.092 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.0003865/1.243, allocations: 347.2 kB / 1.373 GB, free: 7.176 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.243, allocations: 8.031 kB / 1.373 GB, free: 7.168 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006218/1.244, allocations: 44.84 kB / 1.373 GB, free: 7.125 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.244, allocations: 164.3 kB / 1.373 GB, free: 6.926 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/1.244, allocations: 11.92 kB / 1.373 GB, free: 6.914 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.244, allocations: 0 / 1.373 GB, free: 6.914 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/1.244, allocations: 45.67 kB / 1.373 GB, free: 6.863 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.245, allocations: 0 / 1.373 GB, free: 6.863 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/1.245, allocations: 0 / 1.373 GB, free: 6.863 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.245, allocations: 8 kB / 1.373 GB, free: 6.855 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/1.245, allocations: 19.97 kB / 1.373 GB, free: 6.836 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/1.245, allocations: 248.9 kB / 1.373 GB, free: 6.543 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/1.245, allocations: 26.52 kB / 1.373 GB, free: 6.508 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/1.245, allocations: 16.91 kB / 1.373 GB, free: 6.488 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/1.245, allocations: 0 / 1.373 GB, free: 6.488 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.245, allocations: 34.56 kB / 1.373 GB, free: 6.445 MB / 1.092 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.245, allocations: 3.938 kB / 1.373 GB, free: 6.441 MB / 1.092 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/1.245, allocations: 33.7 kB / 1.373 GB, free: 6.402 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.246, allocations: 59.41 kB / 1.373 GB, free: 6.332 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/1.246, allocations: 117.8 kB / 1.373 GB, free: 6.207 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/1.246, allocations: 29.7 kB / 1.373 GB, free: 6.172 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/1.246, allocations: 84.09 kB / 1.373 GB, free: 6.086 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/1.246, allocations: 11.89 kB / 1.373 GB, free: 6.074 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/1.246, allocations: 21.7 kB / 1.374 GB, free: 6.047 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.246, allocations: 314.8 kB / 1.374 GB, free: 5.73 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/1.246, allocations: 7.984 kB / 1.374 GB, free: 5.723 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/1.246, allocations: 19.98 kB / 1.374 GB, free: 5.703 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.71e-05/1.246, allocations: 21.11 kB / 1.374 GB, free: 5.68 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.246, allocations: 4 kB / 1.374 GB, free: 5.676 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001919/1.246, allocations: 53.67 kB / 1.374 GB, free: 5.617 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.246, allocations: 4 kB / 1.374 GB, free: 5.613 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.246, allocations: 0 / 1.374 GB, free: 5.613 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.247, allocations: 7.938 kB / 1.374 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/1.247, allocations: 11.98 kB / 1.374 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.247, allocations: 0 / 1.374 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/1.247, allocations: 15.98 kB / 1.374 GB, free: 5.578 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/1.247, allocations: 3.938 kB / 1.374 GB, free: 5.574 MB / 1.092 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 8.087e-05/1.247, allocations: 105.8 kB / 1.374 GB, free: 5.461 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/1.247, allocations: 7.953 kB / 1.374 GB, free: 5.453 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/1.247, allocations: 3.125 kB / 1.374 GB, free: 5.449 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.247, allocations: 7.984 kB / 1.374 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.247, allocations: 0 / 1.374 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/1.247, allocations: 81.11 kB / 1.374 GB, free: 5.344 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/1.247, allocations: 3.938 kB / 1.374 GB, free: 5.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/1.247, allocations: 4 kB / 1.374 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/1.247, allocations: 0 / 1.374 GB, free: 5.336 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.439e-05/1.247, allocations: 120.9 kB / 1.374 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001307/1.247, allocations: 214.8 kB / 1.374 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.975e-05/1.247, allocations: 4 kB / 1.374 GB, free: 4.98 MB / 1.092 GB Notification: Performance of sorting global known variables: time 9.238e-05/1.248, allocations: 91.27 kB / 1.375 GB, free: 4.891 MB / 1.092 GB Notification: Performance of Backend: time 3.61e-07/1.248, allocations: 0 / 1.375 GB, free: 4.891 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006047/1.248, allocations: 156.4 kB / 1.375 GB, free: 4.734 MB / 1.092 GB Notification: Performance of SimCode: time 0.0006053/1.249, allocations: 0.578 MB / 1.375 GB, free: 4.109 MB / 1.092 GB Notification: Performance of Templates: time 0.004269/1.253, allocations: 1.608 MB / 1.377 GB, free: 2.504 MB / 1.092 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