Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001875/0.001875, allocations: 168.7 kB / 15.95 MB, free: 204 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.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 9.844 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3674, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001877/0.3693, allocations: 1.132 MB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3704, allocations: 0.5652 MB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.3704, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.3705, allocations: 3.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.3706, allocations: 7.938 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.371, allocations: 79.7 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.3711, allocations: 23.92 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.3712, allocations: 11.92 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.3712, allocations: 4 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.3713, allocations: 11.98 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3713, allocations: 0 / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.3716, allocations: 143.7 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3717, allocations: 3.984 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.3717, allocations: 33.64 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3719, allocations: 76.12 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3719, allocations: 3.938 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3719, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3719, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005561/0.3725, allocations: 359.2 kB / 1.06 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3726, allocations: 12.03 kB / 1.06 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004567/0.373, allocations: 27.95 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3732, allocations: 166.9 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3732, allocations: 0 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3732, allocations: 8 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3735, allocations: 69.64 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3735, allocations: 7.984 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3736, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3736, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.3738, allocations: 71.88 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.3744, allocations: 272.8 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3746, allocations: 66.53 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3748, allocations: 36.89 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3748, allocations: 0 / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3749, allocations: 34.56 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.3749, allocations: 0 / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005754/0.3754, allocations: 133.5 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.3755, allocations: 51.41 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.3756, allocations: 101.8 kB / 1.061 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3756, allocations: 25.7 kB / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.3757, allocations: 88.08 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3757, allocations: 3.906 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.3757, allocations: 4.125 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3759, allocations: 322.8 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.376, allocations: 31.91 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3761, allocations: 35.97 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3763, allocations: 27.92 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3763, allocations: 4 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002939/0.3766, allocations: 105.6 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3766, allocations: 4 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3766, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3766, allocations: 4 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3768, allocations: 16.02 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3768, allocations: 3.984 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.3769, allocations: 11.98 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3769, allocations: 4 kB / 1.062 GB, free: 0.9375 MB / 0.8106 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 (2): * Single equations (assignments): 2 * 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 9.776e-05/0.377, allocations: 113.8 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3771, allocations: 3.906 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.3771, allocations: 15.12 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3771, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3771, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3771, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.3773, allocations: 161.6 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3773, allocations: 4 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3774, allocations: 15.97 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3774, allocations: 0 / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3775, allocations: 4 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3775, allocations: 11.94 kB / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3775, allocations: 0 / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.3778, allocations: 191.4 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.3779, allocations: 81.11 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3779, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.378, allocations: 15.98 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.378, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3781, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.3781, allocations: 87.3 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3781, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000251/0.3784, allocations: 12 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001824/0.3786, allocations: 115.5 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.3789, allocations: 75.88 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3789, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.379, allocations: 31.97 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3793, allocations: 14.89 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3798, allocations: 144.4 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.3801, allocations: 0.677 MB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.558e-05/0.3802, allocations: 12 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3802, allocations: 7.438 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3802, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.003545/0.3838, allocations: 0.7033 MB / 1.064 GB, free: 14.31 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches