Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.84 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003637, allocations: 12.81 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.4194, allocations: 132.1 MB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.4198, allocations: 79.95 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003174/0.423, allocations: 0.9761 MB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.423, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.423, allocations: 4 kB / 1.03 GB, free: 10.55 MB / 0.6823 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.0004319/0.4234, allocations: 343.2 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4235, allocations: 8.031 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.4236, allocations: 8 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.4238, allocations: 175 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4238, allocations: 3.984 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4238, allocations: 0 / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.424, allocations: 57.61 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.424, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4241, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4241, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4243, allocations: 43.97 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.4247, allocations: 260.8 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.4249, allocations: 42.56 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.4249, allocations: 3.938 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4249, allocations: 30.56 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4249, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003931/0.4253, allocations: 101.7 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.4254, allocations: 51.41 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.4255, allocations: 96.98 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4255, allocations: 25.83 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.4256, allocations: 84.14 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.4256, allocations: 7.906 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.4256, allocations: 0 / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4257, allocations: 318.8 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.4258, allocations: 19.92 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.4259, allocations: 31.97 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.426, allocations: 15.98 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.426, allocations: 4 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002141/0.4262, allocations: 77.72 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4263, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4263, allocations: 3.938 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4263, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.4264, allocations: 11.98 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4264, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.4265, allocations: 12.03 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.4265, allocations: 4 kB / 1.032 GB, free: 8.531 MB / 0.6823 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 (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 prepare postOptimizeDAE: time 0.000109/0.4266, allocations: 121.8 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.4266, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.4269, allocations: 92.66 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4269, allocations: 0 / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4269, allocations: 4 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.427, allocations: 0 / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4271, allocations: 165.5 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4271, allocations: 0 / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.4272, allocations: 11.98 kB / 1.032 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4272, allocations: 4 kB / 1.032 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.4272, allocations: 4.234 kB / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4272, allocations: 0 / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4272, allocations: 0 / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4275, allocations: 187.4 kB / 1.032 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.4276, allocations: 77.11 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4276, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.4277, allocations: 15.98 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4277, allocations: 0 / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4277, allocations: 3.984 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.4278, allocations: 79.28 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.4278, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002018/0.428, allocations: 8 kB / 1.033 GB, free: 7.672 MB / 0.6823 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 (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 Backend phase and start with SimCode phase: time 0.0001235/0.4281, allocations: 103.2 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.4283, allocations: 47.95 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4284, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.4284, allocations: 27.98 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.4287, allocations: 11.95 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.429, allocations: 136.5 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.4293, allocations: 0.6809 MB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.4294, allocations: 4 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.4294, allocations: 7.438 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4294, allocations: 4 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.002333/0.4318, allocations: 405.8 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches