Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001/0.001, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001206/0.001206, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005848/0.0005853, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8328/0.8334, allocations: 142.4 MB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001381/0.8348, allocations: 1.007 MB / 0.9554 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.8359, allocations: 0.5968 MB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.836, allocations: 0 / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.836, allocations: 1.219 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.8361, allocations: 11.92 kB / 0.956 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.8366, allocations: 86.83 kB / 0.9561 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.8367, allocations: 25.88 kB / 0.9561 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.8368, allocations: 1.406 kB / 0.9561 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.8369, allocations: 17.61 kB / 0.9562 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.837, allocations: 4.719 kB / 0.9562 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.837, allocations: 2.25 kB / 0.9562 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.8374, allocations: 151.7 kB / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.8375, allocations: 9.078 kB / 0.9563 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.8375, allocations: 28.89 kB / 0.9563 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.8377, allocations: 64.92 kB / 0.9564 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.8378, allocations: 0 / 0.9564 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.667e-06/0.8378, allocations: 1.281 kB / 0.9564 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8378, allocations: 3.938 kB / 0.9564 GB, free: 6.27 MB / 0.7169 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.0006155/0.8384, allocations: 355.4 kB / 0.9567 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.8385, allocations: 14.12 kB / 0.9568 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.8389, allocations: 23.81 kB / 0.9568 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.839, allocations: 168.2 kB / 0.9569 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.839, allocations: 5.203 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.8391, allocations: 1.125 kB / 0.9569 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.8393, allocations: 57 kB / 0.957 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8393, allocations: 5.062 kB / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.8393, allocations: 0 / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.8393, allocations: 4.984 kB / 0.957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.8395, allocations: 26.94 kB / 0.957 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.8396, allocations: 155.1 kB / 0.9572 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.8399, allocations: 75.14 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.84, allocations: 28.41 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.8401, allocations: 1.219 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.8401, allocations: 35.89 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.8401, allocations: 3.984 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.002961/0.8431, allocations: 0.5737 MB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.8431, allocations: 53.47 kB / 0.9579 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.8432, allocations: 96.58 kB / 0.958 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.8432, allocations: 25.7 kB / 0.958 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.8432, allocations: 88.12 kB / 0.9581 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.8433, allocations: 19.03 kB / 0.9582 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.8433, allocations: 4 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.8433, allocations: 316.8 kB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.8435, allocations: 34.34 kB / 0.9585 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.8436, allocations: 45.52 kB / 0.9585 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.8437, allocations: 35.39 kB / 0.9586 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.8437, allocations: 0 / 0.9586 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00031/0.844, allocations: 129.3 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8441, allocations: 5.594 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8441, allocations: 0 / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8441, allocations: 0 / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.8443, allocations: 26.77 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8443, allocations: 0 / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.8445, allocations: 8.516 kB / 0.9587 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.8445, allocations: 6.781 kB / 0.9587 GB, free: 4.059 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.8446, allocations: 119 kB / 0.9588 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.8446, allocations: 9.859 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.8447, allocations: 13.31 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8447, allocations: 1.469 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.8447, allocations: 7.953 kB / 0.9589 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8447, allocations: 1.688 kB / 0.9589 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8448, allocations: 181.2 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8448, allocations: 1.406 kB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.845, allocations: 21.03 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.845, allocations: 1.781 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.8451, allocations: 13.64 kB / 0.9591 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8451, allocations: 0 / 0.9591 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8451, allocations: 3.953 kB / 0.9591 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.8455, allocations: 189.7 kB / 0.9593 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.8456, allocations: 82.39 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.8456, allocations: 1.375 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.8458, allocations: 14.92 kB / 0.9594 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.8458, allocations: 1.375 kB / 0.9594 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.8458, allocations: 10.69 kB / 0.9594 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.8458, allocations: 80.66 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8458, allocations: 1.375 kB / 0.9595 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.8461, allocations: 29.98 kB / 0.9595 GB, free: 3.332 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.8463, allocations: 129.7 kB / 0.9596 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.8466, allocations: 89.47 kB / 0.9597 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8467, allocations: 0 / 0.9597 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.8468, allocations: 47.34 kB / 0.9597 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.847, allocations: 18.73 kB / 0.9598 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.8476, allocations: 168.3 kB / 0.9599 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.8478, allocations: 0.6837 MB / 0.9606 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.848, allocations: 28.12 kB / 0.9606 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.8481, allocations: 19.55 kB / 0.9606 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8481, allocations: 0 / 0.9606 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of Templates: time 0.003997/0.8521, allocations: 1.442 MB / 0.962 GB, free: 1.543 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches