Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 387.1 MB / 399.7 MB, free: 9.551 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.001016/0.001016, allocations: 176.9 kB / 492.3 MB, free: 0.6289 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.502/1.502, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009124/0.0009124, allocations: 83.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.557e-05/4.597e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9623/1.291, allocations: 151.5 MB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.292, allocations: 80.33 kB / 1.36 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01011/1.302, allocations: 3.497 MB / 1.364 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.644e-06/1.302, allocations: 0 / 1.364 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.302, allocations: 7.188 kB / 1.364 GB, free: 34.5 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.000446/1.302, allocations: 390.6 kB / 1.364 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.302, allocations: 11.5 kB / 1.364 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/1.303, allocations: 30.25 kB / 1.364 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/1.303, allocations: 202 kB / 1.364 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/1.303, allocations: 33.33 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/1.303, allocations: 7.594 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/1.303, allocations: 81.75 kB / 1.365 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.303, allocations: 0 / 1.365 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/1.303, allocations: 7.438 kB / 1.365 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.303, allocations: 4 kB / 1.365 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/1.303, allocations: 54.22 kB / 1.365 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/1.304, allocations: 380.3 kB / 1.365 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/1.304, allocations: 119.4 kB / 1.365 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/1.304, allocations: 30.36 kB / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.304, allocations: 0 / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/1.304, allocations: 35.67 kB / 1.365 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/1.304, allocations: 4 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001762/1.305, allocations: 85.33 kB / 1.365 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/1.305, allocations: 51.47 kB / 1.365 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/1.305, allocations: 129.2 kB / 1.365 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/1.305, allocations: 29.64 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/1.305, allocations: 104.7 kB / 1.365 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/1.305, allocations: 24.48 kB / 1.366 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.305, allocations: 0 / 1.366 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.305, allocations: 324.9 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/1.305, allocations: 18.12 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/1.305, allocations: 31.7 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/1.305, allocations: 24.38 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.305, allocations: 0 / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/1.305, allocations: 91.75 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.305, allocations: 3.875 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.305, allocations: 3.812 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.305, allocations: 4.031 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.305, allocations: 22.61 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1.305, allocations: 3.141 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/1.306, allocations: 11.25 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/1.306, allocations: 7.219 kB / 1.366 GB, free: 32.75 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.048e-05/1.306, allocations: 104.1 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/1.306, allocations: 15.52 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/1.306, allocations: 15.88 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.306, allocations: 0 / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.306, allocations: 3.984 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.306, allocations: 3.844 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/1.306, allocations: 200 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.306, allocations: 7.812 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/1.306, allocations: 17.78 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.306, allocations: 0 / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/1.306, allocations: 7.797 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.306, allocations: 4 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.306, allocations: 2.953 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/1.306, allocations: 174.4 kB / 1.367 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/1.306, allocations: 84.89 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/1.306, allocations: 2.953 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/1.306, allocations: 18.16 kB / 1.367 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/1.306, allocations: 13.77 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/1.306, allocations: 3.938 kB / 1.367 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.498e-05/1.307, allocations: 111.2 kB / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.307, allocations: 0 / 1.367 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002189/1.307, allocations: 17.75 kB / 1.367 GB, free: 32.1 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.0001181/1.307, allocations: 99.5 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.307, allocations: 47.59 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.307, allocations: 7.938 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/1.307, allocations: 26.31 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/1.307, allocations: 20.41 kB / 1.367 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/1.308, allocations: 128.4 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/1.308, allocations: 0.7066 MB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.833e-05/1.308, allocations: 4.547 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/1.308, allocations: 11.28 kB / 1.368 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.308, allocations: 4 kB / 1.368 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.003197/1.311, allocations: 1.28 MB / 1.369 GB, free: 31.11 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches