Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 96.2 kB / 19.71 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002526/0.002526, allocations: 210.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.397/3.397, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 73.69 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4362, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.004015/0.4402, allocations: 1.431 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.4409, allocations: 211.4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.4409, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.441, allocations: 3.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.441, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.4413, allocations: 39.83 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.039e-05/0.4414, allocations: 23.94 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4416, allocations: 7.984 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.4416, allocations: 11.92 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.4417, allocations: 11.98 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.4417, allocations: 4 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4418, allocations: 27.98 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.4418, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.4419, allocations: 19.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.442, allocations: 39.83 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4421, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4421, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4421, allocations: 4 kB / 1.329 GB, free: 15.15 MB / 1.029 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.0006664/0.4427, allocations: 266.3 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4428, allocations: 8.031 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.4431, allocations: 8.922 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.4432, allocations: 118.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4432, allocations: 4.312 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4432, allocations: 4.375 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.4435, allocations: 46.23 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4435, allocations: 4.188 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4435, allocations: 7.938 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.4435, allocations: 3.984 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.4437, allocations: 31.95 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.4441, allocations: 192.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.4444, allocations: 38.5 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.4445, allocations: 20.89 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4445, allocations: 7.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4445, allocations: 38.56 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.4445, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004659/0.445, allocations: 77.64 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.4451, allocations: 59.34 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.4452, allocations: 97.86 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4453, allocations: 25.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.4453, allocations: 88.25 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.4454, allocations: 7.953 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4454, allocations: 13.72 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4456, allocations: 314.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.4457, allocations: 15.98 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4458, allocations: 15.97 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.446, allocations: 40.83 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.446, allocations: 4.062 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002753/0.4463, allocations: 73.55 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4463, allocations: 9.812 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4463, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4463, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4464, allocations: 11.98 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4465, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.4465, allocations: 8.031 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4465, allocations: 11.92 kB / 1.33 GB, free: 13.33 MB / 1.029 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 0.000108/0.4466, allocations: 110.4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.4467, allocations: 3.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.4471, allocations: 72.97 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4471, allocations: 3.984 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4471, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.4471, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4472, allocations: 8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4473, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.4473, allocations: 11.92 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003649/0.4477, allocations: 152.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004135/0.4481, allocations: 238.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001297/0.4482, allocations: 24.25 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.4483, allocations: 95.25 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of Backend: time 4.71e-07/0.4483, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006987/0.449, allocations: 110.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007711/0.4498, allocations: 0.5624 MB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of Templates: time 0.004901/0.4547, allocations: 0.8378 MB / 1.333 GB, free: 11.02 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.661526234005578]