Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_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.001194/0.001194, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001163/0.001164, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 68.05 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3385, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003078/0.3416, allocations: 1.411 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004819/0.3421, allocations: 199.5 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.3422, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.3422, allocations: 3.984 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.3423, allocations: 3.938 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.3425, allocations: 23.91 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.558e-05/0.3426, allocations: 27.86 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3427, allocations: 4 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.3428, allocations: 11.98 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.3428, allocations: 11.94 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3428, allocations: 4 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.3429, allocations: 31.97 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.343, allocations: 3.984 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.343, allocations: 11.94 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.3431, allocations: 35.84 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3431, allocations: 0 / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.847e-06/0.3431, allocations: 4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3431, allocations: 0 / 1.028 GB, free: 220 kB / 0.795 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.0004769/0.3436, allocations: 331.5 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3437, allocations: 20.02 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3438, allocations: 8.844 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3439, allocations: 168.4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.344, allocations: 384 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.344, allocations: 384 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3441, allocations: 50.23 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3441, allocations: 192 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3442, allocations: 3.938 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3442, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3443, allocations: 43.89 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.3447, allocations: 252.9 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3448, allocations: 42.48 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.3449, allocations: 24.91 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3449, allocations: 4 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.345, allocations: 30.56 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.345, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003281/0.3453, allocations: 81.58 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3453, allocations: 51.41 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.3454, allocations: 109.9 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.3455, allocations: 25.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.3455, allocations: 92.05 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.3455, allocations: 0 / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.3456, allocations: 13.72 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3457, allocations: 310.8 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.3458, allocations: 19.97 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.3459, allocations: 15.98 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.346, allocations: 48.7 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.346, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.3462, allocations: 73.5 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3462, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3463, allocations: 4.094 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3463, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.3464, allocations: 11.98 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3464, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.3464, allocations: 7.984 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3464, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 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 7.632e-05/0.3465, allocations: 117.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3465, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3468, allocations: 84.7 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3468, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3468, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3468, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.347, allocations: 165.6 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.347, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.3471, allocations: 11.98 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3471, allocations: 240 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3471, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3471, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3471, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.3474, allocations: 175.4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.3474, allocations: 85.02 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3474, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.3475, allocations: 8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.3476, allocations: 3.984 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3476, allocations: 8 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.3476, allocations: 79.28 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3476, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002142/0.3478, allocations: 8 kB / 1.031 GB, free: 13.34 MB / 0.8106 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.0001548/0.348, allocations: 95.25 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3482, allocations: 39.95 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3482, allocations: 3.938 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.3483, allocations: 31.91 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.3486, allocations: 9.25 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3489, allocations: 118.7 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3492, allocations: 0.6807 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.3492, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3493, allocations: 7.438 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.3493, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.002524/0.3518, allocations: 499.8 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches