Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009792/0.009792, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001831/0.001831, allocations: 195.6 kB / 16.68 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.68/2.68, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3398, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002281/0.3421, allocations: 1.254 MB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004919/0.3426, allocations: 243.5 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.3427, allocations: 4 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.3427, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.3427, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.343, allocations: 43.77 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.3431, allocations: 15.98 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.3432, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.3432, allocations: 12 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.604e-05/0.3433, allocations: 15.91 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3433, allocations: 4 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3434, allocations: 43.95 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3435, allocations: 4 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.3435, allocations: 11.92 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3436, allocations: 35.89 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3437, allocations: 4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3437, allocations: 0 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3437, allocations: 0 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004078/0.3441, allocations: 335.5 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3441, allocations: 8.031 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3443, allocations: 12.92 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.3444, allocations: 168.3 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3444, allocations: 384 / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3444, allocations: 8.312 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3445, allocations: 42.25 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3445, allocations: 192 / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3446, allocations: 11.88 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3446, allocations: 7.984 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.3446, allocations: 12 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.3448, allocations: 161.6 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.3449, allocations: 46.56 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.3449, allocations: 16.98 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.345, allocations: 4 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.345, allocations: 34.56 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/0.345, allocations: 3.984 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001914/0.3469, allocations: 0.4942 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.347, allocations: 55.41 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.532e-05/0.347, allocations: 89.86 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.347, allocations: 29.7 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.3471, allocations: 80.14 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.3471, allocations: 31.73 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3472, allocations: 21.66 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3473, allocations: 314.8 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-05/0.3473, allocations: 23.98 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.3474, allocations: 27.98 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3475, allocations: 56.86 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3475, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001384/0.3476, allocations: 89.81 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3477, allocations: 12.03 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3477, allocations: 3.938 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3477, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3478, allocations: 15.98 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3478, allocations: 4.062 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.3479, allocations: 4 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3479, allocations: 4.438 kB / 1.17 GB, free: 2.637 MB / 0.92 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 (9): * Single equations (assignments): 9 * 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 8.627e-05/0.348, allocations: 113.8 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.348, allocations: 7.938 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.3481, allocations: 15.97 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3481, allocations: 3.938 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3481, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3481, allocations: 7.984 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3483, allocations: 163.5 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3483, allocations: 4 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3484, allocations: 15.98 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3484, allocations: 3.938 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3484, allocations: 4 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3484, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3484, allocations: 4 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3487, allocations: 149 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.3487, allocations: 81.05 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3487, allocations: 4.047 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.3488, allocations: 8.031 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.3489, allocations: 4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3489, allocations: 0 / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.3489, allocations: 83.28 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3489, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001911/0.3491, allocations: 8 kB / 1.171 GB, free: 1.863 MB / 0.92 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001098/0.3492, allocations: 103.2 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3494, allocations: 67.92 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3494, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.144e-05/0.3494, allocations: 31.98 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.3496, allocations: 4 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.3501, allocations: 186.3 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3504, allocations: 0.6827 MB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.447e-05/0.3505, allocations: 20.11 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.3505, allocations: 7.438 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.3505, allocations: 3.938 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of Templates: time 0.002777/0.3533, allocations: 0.703 MB / 1.173 GB, free: 56 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches