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.007727/0.007727, allocations: 104.3 kB / 15.74 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.001848/0.001848, allocations: 196.7 kB / 16.68 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7348 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 75.86 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9203/0.9218, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002411/0.9243, allocations: 1.289 MB / 1.209 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.9254, allocations: 0.6504 MB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.03e-05/0.9254, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.9254, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.863e-05/0.9255, allocations: 3.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.926, allocations: 111.5 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.9261, allocations: 19.92 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.9261, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.9261, allocations: 15.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.9262, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.9262, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.9265, allocations: 147.7 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.9266, allocations: 11.92 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.9266, allocations: 8 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.9268, allocations: 103.5 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9268, allocations: 0 / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9268, allocations: 0 / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.9268, allocations: 0 / 1.21 GB, free: 11.29 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.0004512/0.9273, allocations: 349.5 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.9273, allocations: 12.03 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/0.9278, allocations: 36.8 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.9279, allocations: 164.3 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.9279, allocations: 384 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.9279, allocations: 12.31 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.9281, allocations: 58.16 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.9281, allocations: 192 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.9282, allocations: 3.938 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.9282, allocations: 0 / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.9283, allocations: 35.91 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.9285, allocations: 161.7 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.9288, allocations: 74.47 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.9289, allocations: 28.94 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.9289, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.929, allocations: 30.56 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.929, allocations: 0 / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.003474/0.9325, allocations: 0.5759 MB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.9325, allocations: 51.41 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.9326, allocations: 101.8 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.9326, allocations: 25.7 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.9326, allocations: 80.14 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.9327, allocations: 27.78 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.9328, allocations: 25.69 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9329, allocations: 310.8 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.9331, allocations: 39.97 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.9332, allocations: 39.91 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.9335, allocations: 80.81 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.9335, allocations: 0 / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003549/0.9338, allocations: 125.6 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9339, allocations: 11.94 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9339, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.9339, allocations: 0 / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.9341, allocations: 19.97 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.9341, allocations: 7.984 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.9343, allocations: 11.88 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.9343, allocations: 3.984 kB / 1.212 GB, free: 8.547 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.62e-05/0.9344, allocations: 117.8 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.9344, allocations: 7.844 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.9345, allocations: 11.97 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9345, allocations: 0 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9345, allocations: 64 / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.9345, allocations: 8 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.9347, allocations: 187.7 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9347, allocations: 0 / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.9349, allocations: 19.97 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.935, allocations: 7.938 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.935, allocations: 3.984 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.935, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.935, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.9355, allocations: 197 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.9356, allocations: 81.05 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.9356, allocations: 0 / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.9358, allocations: 16.05 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.9358, allocations: 0 / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.9358, allocations: 11.98 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.9359, allocations: 75.28 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9359, allocations: 4 kB / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002369/0.9361, allocations: 24 kB / 1.213 GB, free: 7.688 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.0002286/0.9363, allocations: 135.3 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.9367, allocations: 87.86 kB / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9367, allocations: 0 / 1.213 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.9369, allocations: 43.95 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.9371, allocations: 12 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.9378, allocations: 168.2 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.938, allocations: 0.6807 MB / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.9382, allocations: 31.88 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.9382, allocations: 15.42 kB / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.9383, allocations: 0 / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of Templates: time 0.004053/0.9423, allocations: 1.513 MB / 1.216 GB, free: 5 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