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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001802/0.001802, allocations: 112.9 kB / 16.42 MB, free: 6.5 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.001961/0.001961, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003178/1.093, allocations: 1.413 MB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005128/1.094, allocations: 195.5 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/1.094, allocations: 7.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/1.094, allocations: 7.922 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/1.094, allocations: 7.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/1.094, allocations: 23.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/1.094, allocations: 23.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/1.094, allocations: 4 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/1.094, allocations: 7.984 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/1.094, allocations: 15.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/1.094, allocations: 4 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/1.095, allocations: 31.97 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/1.095, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/1.095, allocations: 7.938 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/1.095, allocations: 43.89 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.095, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/1.095, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.138e-05/1.095, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 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.0006362/1.095, allocations: 347.2 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.095, allocations: 8.031 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/1.096, allocations: 8.938 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/1.096, allocations: 160.4 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/1.096, allocations: 4.312 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/1.096, allocations: 4.375 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/1.096, allocations: 46.23 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.096, allocations: 192 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.096, allocations: 7.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/1.096, allocations: 3.938 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/1.096, allocations: 35.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/1.097, allocations: 242.8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/1.097, allocations: 50.47 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/1.097, allocations: 20.91 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/1.097, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.097, allocations: 30.56 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/1.097, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/1.097, allocations: 81.55 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.097, allocations: 55.34 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/1.097, allocations: 106 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.098, allocations: 25.7 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/1.098, allocations: 84.14 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/1.098, allocations: 3.906 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/1.098, allocations: 17.66 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.098, allocations: 314.8 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/1.098, allocations: 15.97 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/1.098, allocations: 23.98 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/1.098, allocations: 32.83 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.098, allocations: 4 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/1.098, allocations: 65.59 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.098, allocations: 14.12 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/1.098, allocations: 4.094 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.098, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.099, allocations: 7.984 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.099, allocations: 0 / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.997e-05/1.099, allocations: 11.92 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.099, allocations: 4 kB / 1.212 GB, free: 9.855 MB / 0.9356 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.424e-05/1.099, allocations: 109.8 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/1.099, allocations: 3.938 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/1.099, allocations: 80.77 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.099, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.099, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/1.099, allocations: 85.25 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/1.099, allocations: 0 / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/1.099, allocations: 11.98 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/1.099, allocations: 7.922 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002648/1.099, allocations: 160.9 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002736/1.1, allocations: 234.8 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.39e-05/1.1, allocations: 27.91 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.455e-05/1.1, allocations: 83.28 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of Backend: time 6.21e-07/1.1, allocations: 0 / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000485/1.1, allocations: 106.3 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005776/1.101, allocations: 0.569 MB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of Templates: time 0.003427/1.104, allocations: 0.7404 MB / 1.214 GB, free: 7.539 MB / 0.9356 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 -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