Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_10_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_10_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.008109/0.008109, allocations: 97.42 kB / 15.73 MB, free: 5.602 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.002023/0.002024, allocations: 193 kB / 16.68 MB, free: 5.523 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.11 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9903, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002424/0.9928, allocations: 1.294 MB / 1.168 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1652/1.158, allocations: 147.6 MB / 1.312 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/1.158, allocations: 0 / 1.312 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/1.158, allocations: 0 / 1.312 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/1.158, allocations: 7.922 kB / 1.312 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/1.159, allocations: 115.4 kB / 1.312 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/1.159, allocations: 23.86 kB / 1.312 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/1.159, allocations: 4 kB / 1.312 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/1.159, allocations: 11.92 kB / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/1.159, allocations: 4 kB / 1.312 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/1.159, allocations: 4 kB / 1.312 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/1.159, allocations: 175.7 kB / 1.312 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/1.159, allocations: 4 kB / 1.312 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/1.159, allocations: 7.938 kB / 1.312 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/1.16, allocations: 112.2 kB / 1.312 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.16, allocations: 0 / 1.312 GB, free: 13.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/1.16, allocations: 0 / 1.312 GB, free: 13.86 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.16, allocations: 0 / 1.312 GB, free: 13.86 MB / 1.045 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.0003477/1.16, allocations: 359.1 kB / 1.313 GB, free: 13.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.16, allocations: 8.922 kB / 1.313 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/1.161, allocations: 36.84 kB / 1.313 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/1.161, allocations: 168.4 kB / 1.313 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/1.161, allocations: 7.875 kB / 1.313 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.161, allocations: 0 / 1.313 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/1.161, allocations: 49.66 kB / 1.313 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/1.161, allocations: 0 / 1.313 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.161, allocations: 0 / 1.313 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.161, allocations: 4 kB / 1.313 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/1.161, allocations: 19.97 kB / 1.313 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/1.162, allocations: 248.9 kB / 1.313 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/1.162, allocations: 30.52 kB / 1.313 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/1.162, allocations: 8.922 kB / 1.313 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/1.162, allocations: 0 / 1.313 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/1.162, allocations: 38.48 kB / 1.313 GB, free: 12.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/1.162, allocations: 0 / 1.313 GB, free: 12.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/1.162, allocations: 41.7 kB / 1.313 GB, free: 12.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/1.162, allocations: 55.53 kB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/1.162, allocations: 109.8 kB / 1.314 GB, free: 12.51 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/1.162, allocations: 33.7 kB / 1.314 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/1.162, allocations: 88.08 kB / 1.314 GB, free: 12.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/1.162, allocations: 7.891 kB / 1.314 GB, free: 12.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/1.162, allocations: 21.7 kB / 1.314 GB, free: 12.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/1.162, allocations: 314.8 kB / 1.314 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/1.162, allocations: 15.98 kB / 1.314 GB, free: 12.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/1.162, allocations: 7.984 kB / 1.314 GB, free: 12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.022e-05/1.163, allocations: 24.84 kB / 1.314 GB, free: 11.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.163, allocations: 0 / 1.314 GB, free: 11.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001738/1.163, allocations: 54 kB / 1.314 GB, free: 11.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.163, allocations: 12 kB / 1.314 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.163, allocations: 0 / 1.314 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/1.163, allocations: 3.938 kB / 1.314 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.163, allocations: 11.98 kB / 1.314 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/1.163, allocations: 0 / 1.314 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/1.163, allocations: 15.92 kB / 1.314 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/1.163, allocations: 0 / 1.314 GB, free: 11.88 MB / 1.045 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.471e-05/1.163, allocations: 117.8 kB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/1.163, allocations: 3.984 kB / 1.314 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/1.163, allocations: 3.125 kB / 1.314 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.163, allocations: 0 / 1.314 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.163, allocations: 0 / 1.314 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.163, allocations: 11.88 kB / 1.314 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/1.163, allocations: 153.6 kB / 1.314 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.163, allocations: 3.984 kB / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/1.163, allocations: 4 kB / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.163, allocations: 0 / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/1.163, allocations: 0 / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.163, allocations: 8 kB / 1.314 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.163, allocations: 0 / 1.314 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/1.164, allocations: 135.4 kB / 1.315 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/1.164, allocations: 85.03 kB / 1.315 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/1.164, allocations: 4 kB / 1.315 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.656e-05/1.164, allocations: 0 / 1.315 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/1.164, allocations: 4.031 kB / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/1.164, allocations: 11.94 kB / 1.315 GB, free: 11.24 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.059e-05/1.164, allocations: 83.27 kB / 1.315 GB, free: 11.16 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.164, allocations: 4 kB / 1.315 GB, free: 11.16 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002407/1.164, allocations: 15.94 kB / 1.315 GB, free: 11.14 MB / 1.045 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.0001747/1.164, allocations: 111.2 kB / 1.315 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001356/1.164, allocations: 23.97 kB / 1.315 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.164, allocations: 0 / 1.315 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/1.164, allocations: 11.94 kB / 1.315 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/1.165, allocations: 14.42 kB / 1.315 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/1.165, allocations: 107.3 kB / 1.315 GB, free: 10.85 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/1.165, allocations: 0.6768 MB / 1.316 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.268e-05/1.165, allocations: 8 kB / 1.316 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/1.165, allocations: 15.44 kB / 1.316 GB, free: 10.12 MB / 1.045 GB Notification: Performance of SimCode: time 2.31e-07/1.165, allocations: 0 / 1.316 GB, free: 10.12 MB / 1.045 GB Notification: Performance of Templates: time 0.003331/1.169, allocations: 0.7394 MB / 1.316 GB, free: 9.391 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches