Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_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_10_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.001303/0.001303, allocations: 111 kB / 16.42 MB, free: 6.031 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.001282/0.001282, allocations: 187.3 kB / 17.35 MB, free: 5.602 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.645/2.645, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003116/1.007, allocations: 1.292 MB / 1.169 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001864/1.009, allocations: 0.6381 MB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/1.009, allocations: 0 / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/1.009, allocations: 3.984 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/1.01, allocations: 7.938 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/1.01, allocations: 107.5 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/1.011, allocations: 27.86 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.097e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/1.011, allocations: 7.984 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/1.011, allocations: 15.92 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/1.011, allocations: 147.7 kB / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/1.011, allocations: 8 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/1.011, allocations: 15.92 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/1.012, allocations: 92.31 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.012, allocations: 0 / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/1.012, allocations: 0 / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.012, allocations: 0 / 1.17 GB, free: 1.512 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006998/1.013, allocations: 361.5 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/1.013, allocations: 8.625 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/1.013, allocations: 28.91 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.013, allocations: 168.3 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/1.013, allocations: 384 / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/1.013, allocations: 8.328 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.014, allocations: 58.16 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/1.014, allocations: 192 / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.014, allocations: 7.938 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.014, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/1.014, allocations: 27.97 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/1.014, allocations: 157.6 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/1.014, allocations: 74.58 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/1.014, allocations: 28.88 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/1.014, allocations: 0 / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.014, allocations: 34.55 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.685e-06/1.014, allocations: 3.984 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.00351/1.018, allocations: 0.5721 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.018, allocations: 51.41 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/1.018, allocations: 93.86 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.018, allocations: 25.7 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/1.018, allocations: 92.25 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/1.018, allocations: 23.78 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/1.018, allocations: 25.69 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.019, allocations: 314.8 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.019, allocations: 35.97 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/1.019, allocations: 39.97 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.019, allocations: 84.75 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/1.019, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000375/1.02, allocations: 117.6 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.02, allocations: 11.94 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.02, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.02, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/1.02, allocations: 23.97 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.02, allocations: 4.234 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/1.02, allocations: 11.92 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.02, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 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 0.0001183/1.02, allocations: 117.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/1.02, allocations: 15.88 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/1.02, allocations: 15.91 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.02, allocations: 4 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.02, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/1.02, allocations: 77.11 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.02, allocations: 4.062 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/1.021, allocations: 11.98 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/1.021, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005785/1.021, allocations: 204.9 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006398/1.022, allocations: 350.5 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001545/1.022, allocations: 40 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.087e-05/1.022, allocations: 79.28 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Backend: time 4.3e-07/1.022, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007553/1.023, allocations: 180.9 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006007/1.024, allocations: 0.5771 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.005923/1.029, allocations: 2.466 MB / 1.176 GB, free: 10.6 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches