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.274/2.274, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001075/0.001076, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009535/0.0009535, allocations: 95.88 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.747e-05/4.758e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.326, allocations: 152.3 MB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.327, allocations: 76.89 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0103/1.337, allocations: 3.503 MB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.337, allocations: 0 / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.337, allocations: 0 / 1.371 GB, free: 14.72 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.0005217/1.338, allocations: 392.9 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.338, allocations: 12.03 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/1.338, allocations: 31.83 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/1.338, allocations: 193.7 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/1.338, allocations: 32.89 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/1.338, allocations: 7.984 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/1.338, allocations: 92.39 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.338, allocations: 0 / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.338, allocations: 4 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/1.338, allocations: 0 / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/1.339, allocations: 63.69 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/1.339, allocations: 390 kB / 1.372 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/1.34, allocations: 118.8 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/1.34, allocations: 28.3 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/1.34, allocations: 3.938 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/1.34, allocations: 30.62 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.34, allocations: 4 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002005/1.34, allocations: 79.53 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/1.34, allocations: 51.41 kB / 1.372 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.34, allocations: 132.7 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/1.34, allocations: 29.39 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/1.34, allocations: 94.95 kB / 1.373 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.34, allocations: 27.06 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.34, allocations: 4 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.341, allocations: 321.5 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/1.341, allocations: 15.62 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/1.341, allocations: 39.39 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/1.341, allocations: 19.55 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.341, allocations: 3.938 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000142/1.341, allocations: 87.08 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.341, allocations: 8 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.341, allocations: 4.031 kB / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.341, allocations: 0 / 1.373 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/1.341, allocations: 27.11 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.341, allocations: 0 / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/1.341, allocations: 11.98 kB / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/1.341, allocations: 4 kB / 1.373 GB, free: 12.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 7.658e-05/1.341, allocations: 104 kB / 1.373 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/1.341, allocations: 15.86 kB / 1.373 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/1.341, allocations: 18.67 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.341, allocations: 0 / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.341, allocations: 0 / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.341, allocations: 0 / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/1.342, allocations: 205.4 kB / 1.374 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.342, allocations: 3.984 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/1.342, allocations: 18.56 kB / 1.374 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/1.342, allocations: 3.953 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/1.342, allocations: 15.86 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/1.342, allocations: 0 / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.342, allocations: 0 / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/1.342, allocations: 171.6 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/1.342, allocations: 88.7 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/1.342, allocations: 3.953 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/1.342, allocations: 19.98 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/1.342, allocations: 3.984 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.342, allocations: 4 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.159e-05/1.342, allocations: 111.7 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.342, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002112/1.343, allocations: 16 kB / 1.374 GB, free: 11.55 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.0001291/1.343, allocations: 107 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000115/1.343, allocations: 41.31 kB / 1.374 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.343, allocations: 8.062 kB / 1.374 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/1.343, allocations: 25.88 kB / 1.374 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/1.343, allocations: 32.28 kB / 1.374 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/1.343, allocations: 127.1 kB / 1.374 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.344, allocations: 0.7082 MB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.243e-05/1.344, allocations: 4.672 kB / 1.375 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/1.344, allocations: 15.44 kB / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.344, allocations: 0 / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.003691/1.348, allocations: 1.273 MB / 1.376 GB, free: 9.227 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