Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001777/0.001777, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.89 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9293/0.9308, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002582/0.9334, allocations: 1.405 MB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000471/0.9339, allocations: 209.9 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.934, allocations: 7.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.934, allocations: 0 / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.9341, allocations: 7.875 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.9343, allocations: 27.91 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.9344, allocations: 23.92 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.9345, allocations: 4 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.9345, allocations: 15.92 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.9346, allocations: 11.98 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.9346, allocations: 4 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.9347, allocations: 23.98 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.9347, allocations: 7.938 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.9348, allocations: 7.984 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.9349, allocations: 39.89 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.9349, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9349, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.9349, allocations: 0 / 1.169 GB, free: 2.094 MB / 0.8887 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.0004532/0.9354, allocations: 343.3 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9354, allocations: 12.03 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.9355, allocations: 4.938 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.9357, allocations: 168.3 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.9357, allocations: 384 / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.9357, allocations: 4.375 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.9359, allocations: 46.23 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.9359, allocations: 192 / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.9359, allocations: 7.938 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9359, allocations: 3.938 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.9361, allocations: 39.94 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.9365, allocations: 246.7 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.9366, allocations: 46.53 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.9367, allocations: 16.91 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.9367, allocations: 4 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.9367, allocations: 34.56 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.9367, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003424/0.9371, allocations: 85.48 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.9371, allocations: 51.41 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.9372, allocations: 110 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.9372, allocations: 25.7 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.9373, allocations: 80.14 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.9373, allocations: 7.906 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.9373, allocations: 13.72 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9375, allocations: 314.8 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.9375, allocations: 19.98 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.9376, allocations: 19.98 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.9378, allocations: 40.75 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.9378, allocations: 4 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.938, allocations: 69.55 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.938, allocations: 8 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.938, allocations: 4.094 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.938, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.79e-05/0.9381, allocations: 7.984 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.9381, allocations: 0 / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.9382, allocations: 11.92 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.9382, allocations: 4 kB / 1.171 GB, free: 56 kB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.9383, allocations: 109.8 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.9383, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.9385, allocations: 84.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9386, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9386, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.9386, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.9387, allocations: 165.6 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9388, allocations: 3.984 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.9388, allocations: 11.94 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9388, allocations: 4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.9388, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9389, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9389, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.9391, allocations: 175.3 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.9391, allocations: 77.11 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.9392, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.9392, allocations: 11.98 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.9393, allocations: 4 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.9393, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.9393, allocations: 87.5 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9393, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002173/0.9396, allocations: 4 kB / 1.172 GB, free: 15.22 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.9397, allocations: 99.23 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.9399, allocations: 40.11 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9399, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.94, allocations: 27.95 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.9403, allocations: 7.938 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.9407, allocations: 140.2 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.9409, allocations: 0.6768 MB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.9409, allocations: 15.44 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.9409, allocations: 3.938 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of Templates: time 0.002058/0.943, allocations: 0.5801 MB / 1.173 GB, free: 13.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches