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.01016/0.01016, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002156/0.002156, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.511/1.511, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8682, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002665/0.8709, allocations: 1.289 MB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.8721, allocations: 0.6464 MB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.8721, allocations: 0 / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.8721, allocations: 0 / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.8722, allocations: 11.91 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.8727, allocations: 107.5 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.8728, allocations: 27.91 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.8728, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.8728, allocations: 11.94 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.8729, allocations: 11.98 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.8729, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.8732, allocations: 143.8 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.8733, allocations: 7.938 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.8733, allocations: 11.98 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.8735, allocations: 99.56 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8735, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8735, allocations: 4 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8735, allocations: 3.984 kB / 1.21 GB, free: 11.42 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.0004904/0.874, allocations: 349.5 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.8741, allocations: 12.03 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.8745, allocations: 28.81 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.8746, allocations: 168.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.8746, allocations: 4.375 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.8747, allocations: 4.375 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.8749, allocations: 58.2 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.8749, allocations: 192 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.8749, allocations: 3.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.8749, allocations: 3.938 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.875, allocations: 35.97 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.8752, allocations: 157.6 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.8756, allocations: 62.58 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.8757, allocations: 32.94 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.8757, allocations: 4 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.8757, allocations: 30.56 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8758, allocations: 3.938 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.003367/0.8791, allocations: 0.5798 MB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.8792, allocations: 55.41 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.8793, allocations: 93.86 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.8793, allocations: 29.7 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.8793, allocations: 80.14 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.8794, allocations: 23.64 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.8794, allocations: 25.83 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8796, allocations: 318.8 kB / 1.212 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.8797, allocations: 39.97 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.8798, allocations: 35.97 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.8801, allocations: 80.81 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8801, allocations: 0 / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003419/0.8805, allocations: 121.6 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.8805, allocations: 7.938 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8805, allocations: 8 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.8805, allocations: 0 / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.8808, allocations: 19.97 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8808, allocations: 0 / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.8809, allocations: 11.98 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.881, allocations: 4 kB / 1.212 GB, free: 8.691 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 8.987e-05/0.881, allocations: 109.8 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.8811, allocations: 11.84 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.8812, allocations: 15.89 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8812, allocations: 7.938 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8812, allocations: 0 / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8812, allocations: 0 / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.8813, allocations: 187.7 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8814, allocations: 7.938 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.8816, allocations: 27.97 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.8816, allocations: 7.938 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.8816, allocations: 0 / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.8816, allocations: 3.984 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8816, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.8822, allocations: 185 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.8822, allocations: 85.08 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.8823, allocations: 0 / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.8824, allocations: 15.98 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.8825, allocations: 8 kB / 1.213 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.8825, allocations: 7.984 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.8825, allocations: 75.28 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8825, allocations: 0 / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002527/0.8828, allocations: 28 kB / 1.213 GB, free: 7.82 MB / 0.9356 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 (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.0002491/0.8831, allocations: 135.2 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.8834, allocations: 88.02 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8834, allocations: 0 / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.8836, allocations: 43.91 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.8839, allocations: 11.98 kB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.8846, allocations: 166.2 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.8849, allocations: 0.6807 MB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.885, allocations: 27.94 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.8851, allocations: 19.41 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8851, allocations: 0 / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.004072/0.8892, allocations: 1.535 MB / 1.216 GB, free: 5.113 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/jenkins/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