Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_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_9_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.005827/0.005827, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.00128/0.00128, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.595/2.595, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.59 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002325/0.3387, allocations: 1.254 MB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005314/0.3393, allocations: 231.6 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.3393, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3393, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.997e-05/0.3394, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.3397, allocations: 51.75 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.887e-05/0.3398, allocations: 23.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.3399, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.3399, allocations: 4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.34, allocations: 11.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.34, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.3401, allocations: 39.95 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.3401, allocations: 11.92 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.3401, allocations: 11.98 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3403, allocations: 47.83 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3403, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3403, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3403, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 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.0003819/0.3407, allocations: 331.6 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3407, allocations: 11.97 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.3409, allocations: 16.92 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.341, allocations: 164.3 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.341, allocations: 4.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.341, allocations: 8.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3412, allocations: 42.25 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3412, allocations: 192 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3412, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3412, allocations: 3.984 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.3413, allocations: 12 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.3414, allocations: 157.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.3415, allocations: 50.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.3416, allocations: 16.98 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3416, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3416, allocations: 30.56 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3416, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.00203/0.3437, allocations: 0.5057 MB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3437, allocations: 51.41 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.382e-05/0.3438, allocations: 89.86 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3438, allocations: 29.7 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.3438, allocations: 84.14 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.3439, allocations: 27.64 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3439, allocations: 25.66 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3441, allocations: 314.8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.3441, allocations: 23.98 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.3442, allocations: 27.98 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.3443, allocations: 57.03 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3443, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001417/0.3444, allocations: 97.47 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3445, allocations: 11.94 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3445, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3445, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3447, allocations: 19.98 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3447, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.3448, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3448, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 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 9.551e-05/0.3449, allocations: 113.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.3449, allocations: 7.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.345, allocations: 16.41 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.345, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.345, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.345, allocations: 3.984 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3452, allocations: 179.3 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3452, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3454, allocations: 15.98 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3454, allocations: 3.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3454, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3454, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3454, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3458, allocations: 149 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.3459, allocations: 88.98 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3459, allocations: 3.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3461, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.3461, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3461, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.3462, allocations: 75.34 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3462, allocations: 7.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003121/0.3465, allocations: 16 kB / 1.092 GB, free: 12.57 MB / 0.8575 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.0001535/0.3467, allocations: 103.2 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3469, allocations: 60.02 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3469, allocations: 4.188 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.347, allocations: 27.98 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3473, allocations: 11.94 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.3481, allocations: 184.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3486, allocations: 0.6807 MB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000101/0.3487, allocations: 15.92 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.3487, allocations: 11.44 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.3487, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of Templates: time 0.004601/0.3533, allocations: 0.7002 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches