Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 111.4 kB / 16.42 MB, free: 6.508 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.00151/0.001511, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 63.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.097, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003396/1.1, allocations: 1.285 MB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001433/1.102, allocations: 0.6426 MB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/1.102, allocations: 3.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/1.102, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/1.102, allocations: 7.922 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000723/1.103, allocations: 103.5 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/1.103, allocations: 31.86 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/1.103, allocations: 4 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/1.103, allocations: 11.92 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/1.103, allocations: 11.98 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/1.103, allocations: 4 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/1.104, allocations: 143.8 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/1.104, allocations: 7.922 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/1.104, allocations: 7.984 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/1.104, allocations: 91.5 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.104, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.807e-06/1.104, allocations: 0 / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.812e-06/1.104, allocations: 7.938 kB / 1.211 GB, free: 11.2 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005924/1.105, allocations: 357.5 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.105, allocations: 8.031 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/1.105, allocations: 32.81 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/1.105, allocations: 164.3 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/1.105, allocations: 8.375 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/1.105, allocations: 384 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/1.105, allocations: 58.2 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.105, allocations: 192 / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.106, allocations: 3.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.106, allocations: 3.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/1.106, allocations: 31.97 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/1.106, allocations: 169.6 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/1.106, allocations: 66.58 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/1.106, allocations: 24.94 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/1.106, allocations: 4 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.106, allocations: 30.56 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/1.106, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.003354/1.11, allocations: 0.5917 MB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/1.11, allocations: 51.41 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/1.11, allocations: 93.86 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/1.11, allocations: 25.7 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/1.11, allocations: 80.14 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/1.11, allocations: 27.64 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/1.11, allocations: 21.7 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.11, allocations: 327 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/1.11, allocations: 35.95 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/1.111, allocations: 35.97 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/1.111, allocations: 80.81 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.111, allocations: 0 / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003521/1.111, allocations: 121.6 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.111, allocations: 11.94 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.111, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.111, allocations: 0 / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/1.112, allocations: 27.97 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.112, allocations: 0 / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/1.112, allocations: 11.98 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/1.112, allocations: 0 / 1.213 GB, free: 8.465 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 (7): * Single equations (assignments): 7 * 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 9.867e-05/1.112, allocations: 109.8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/1.112, allocations: 7.844 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/1.112, allocations: 19.95 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.112, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.112, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/1.112, allocations: 77.11 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/1.112, allocations: 4 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/1.112, allocations: 19.92 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/1.112, allocations: 4 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005517/1.113, allocations: 204.8 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006122/1.113, allocations: 338.7 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001588/1.114, allocations: 44.06 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.534e-05/1.114, allocations: 79.28 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of Backend: time 3.31e-07/1.114, allocations: 0 / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007358/1.114, allocations: 180 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000699/1.115, allocations: 0.5893 MB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.006849/1.122, allocations: 2.481 MB / 1.217 GB, free: 4.258 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches