Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.368/2.368, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 180.9 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 95.64 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.815e-05/1.818e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3875, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.515, allocations: 151.6 MB / 1.36 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/1.515, allocations: 75.73 kB / 1.36 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01031/1.525, allocations: 3.487 MB / 1.364 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.224e-06/1.526, allocations: 0 / 1.364 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.526, allocations: 4 kB / 1.364 GB, free: 33.1 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004965/1.526, allocations: 392.3 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.526, allocations: 7.812 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/1.526, allocations: 33.39 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/1.527, allocations: 189.4 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/1.527, allocations: 34.84 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/1.527, allocations: 3.906 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001466/1.527, allocations: 51.88 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/1.527, allocations: 76.42 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.527, allocations: 3.938 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.527, allocations: 0 / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.527, allocations: 3.938 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/1.528, allocations: 350.1 kB / 1.365 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/1.528, allocations: 118 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/1.528, allocations: 29.91 kB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/1.528, allocations: 3.844 kB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/1.528, allocations: 30.56 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/1.528, allocations: 0 / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001934/1.528, allocations: 77.61 kB / 1.365 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/1.528, allocations: 52.95 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/1.529, allocations: 115.5 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/1.529, allocations: 25.7 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/1.529, allocations: 102.6 kB / 1.365 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/1.529, allocations: 24.95 kB / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/1.529, allocations: 0 / 1.365 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/1.529, allocations: 320.6 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/1.529, allocations: 11.53 kB / 1.366 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/1.529, allocations: 31.03 kB / 1.366 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/1.529, allocations: 31.78 kB / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.529, allocations: 0 / 1.366 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001004/1.529, allocations: 75.78 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.529, allocations: 13.09 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.529, allocations: 0 / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.529, allocations: 0 / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/1.529, allocations: 25.44 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.529, allocations: 0 / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/1.529, allocations: 18.89 kB / 1.366 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/1.529, allocations: 4 kB / 1.366 GB, free: 31.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.275e-05/1.529, allocations: 104.9 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/1.529, allocations: 4.594 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/1.529, allocations: 20.23 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.529, allocations: 0 / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.529, allocations: 0 / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.529, allocations: 0.9375 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/1.53, allocations: 178.7 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.53, allocations: 0 / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/1.53, allocations: 19.3 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.53, allocations: 0 / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/1.53, allocations: 7.719 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.53, allocations: 1.688 kB / 1.366 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.53, allocations: 3.953 kB / 1.366 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/1.53, allocations: 171 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/1.53, allocations: 86.59 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/1.53, allocations: 0 / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/1.53, allocations: 16.47 kB / 1.367 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/1.53, allocations: 13.33 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.53, allocations: 3.953 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.599e-05/1.53, allocations: 92.33 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.53, allocations: 4 kB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002146/1.53, allocations: 19.47 kB / 1.367 GB, free: 30.76 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001178/1.531, allocations: 100.1 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001129/1.531, allocations: 42.44 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.531, allocations: 3.969 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/1.531, allocations: 26.5 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.531, allocations: 19.67 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/1.531, allocations: 127.8 kB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/1.532, allocations: 0.6951 MB / 1.368 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.442e-05/1.532, allocations: 9.453 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/1.532, allocations: 11.16 kB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.532, allocations: 0 / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.003147/1.535, allocations: 1.094 MB / 1.369 GB, free: 29.78 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches