Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_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_9_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.001151/0.001151, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001342/0.001342, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.297 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.481/2.481, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003976, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8215, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001237/0.8228, allocations: 0.9844 MB / 0.9545 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.155/0.9778, allocations: 124.8 MB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.9779, allocations: 3.938 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.9779, allocations: 0 / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.978, allocations: 7.984 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.9785, allocations: 111.6 kB / 1.077 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.9785, allocations: 15.97 kB / 1.077 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.9786, allocations: 0 / 1.077 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.9786, allocations: 8 kB / 1.077 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.9787, allocations: 11.92 kB / 1.077 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.9787, allocations: 3.938 kB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.9791, allocations: 183.8 kB / 1.077 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.683e-06/0.9791, allocations: 0 / 1.077 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.9792, allocations: 29.7 kB / 1.077 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.9794, allocations: 85.77 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.9794, allocations: 0 / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9794, allocations: 0 / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.9794, allocations: 0 / 1.077 GB, free: 1.562 MB / 0.8262 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.0003161/0.9797, allocations: 351.3 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9797, allocations: 8.031 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.9803, allocations: 35.95 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.9805, allocations: 163.1 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.9805, allocations: 4 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.9805, allocations: 3.938 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.9807, allocations: 45.67 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9807, allocations: 0 / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.9807, allocations: 3.953 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9807, allocations: 0 / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.9809, allocations: 27.97 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.9812, allocations: 241 kB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.9813, allocations: 34.5 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.9813, allocations: 0 / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.9814, allocations: 38.52 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/0.9814, allocations: 0 / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.9815, allocations: 45.61 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.9816, allocations: 55.41 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.9817, allocations: 109.8 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.9817, allocations: 25.7 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.9818, allocations: 88.06 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.9818, allocations: 7.906 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.9818, allocations: 8.062 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9819, allocations: 314.8 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.939e-05/0.982, allocations: 7.984 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.982, allocations: 16.16 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.9821, allocations: 12 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9821, allocations: 0 / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001712/0.9823, allocations: 61.66 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.9823, allocations: 7.953 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.9823, allocations: 0 / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.9823, allocations: 4 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.9824, allocations: 7.984 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.9824, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.9826, allocations: 15.92 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.9826, allocations: 4 kB / 1.078 GB, free: 15.64 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.9827, allocations: 109.8 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.9827, allocations: 4 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.9827, allocations: 11.08 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.9827, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9828, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.9828, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.9829, allocations: 153.6 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9829, allocations: 0 / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.983, allocations: 11.98 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.983, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.983, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.983, allocations: 3.953 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.983, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.9831, allocations: 135.6 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.9832, allocations: 81.09 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.9832, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.9833, allocations: 15.97 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.9833, allocations: 11.88 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.9834, allocations: 0 / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.677e-05/0.9834, allocations: 91.27 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9834, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002395/0.9837, allocations: 12 kB / 1.079 GB, free: 14.91 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.9839, allocations: 115.2 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.984, allocations: 19.98 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.984, allocations: 0 / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.984, allocations: 4 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.9843, allocations: 11.98 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.9846, allocations: 134.5 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.9848, allocations: 0.677 MB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.936e-05/0.9849, allocations: 11.94 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.985, allocations: 7.438 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.985, allocations: 4 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.003077/0.9881, allocations: 0.6862 MB / 1.081 GB, free: 13.2 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches