Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_10_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.001384/0.001384, allocations: 110 kB / 16.41 MB, free: 6.504 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.001287/0.001287, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.662/2.662, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8184, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002523/0.821, allocations: 1.424 MB / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.822, allocations: 0.599 MB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.8221, allocations: 4 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.8221, allocations: 0 / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.8222, allocations: 7.938 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.8226, allocations: 95.56 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.8226, allocations: 19.94 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.8227, allocations: 11.97 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.8228, allocations: 11.94 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.8228, allocations: 7.984 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.8228, allocations: 8 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.8231, allocations: 147.7 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.8231, allocations: 11.98 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.8232, allocations: 7.938 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.8234, allocations: 96.31 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8234, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8234, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8234, allocations: 0 / 1.17 GB, free: 1.434 MB / 0.8887 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.0004869/0.8239, allocations: 359.2 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.8239, allocations: 16.62 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.8243, allocations: 32.84 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.8245, allocations: 160.4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.8245, allocations: 8.312 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.8245, allocations: 384 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.8247, allocations: 70.2 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8248, allocations: 192 / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8248, allocations: 3.938 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.8248, allocations: 0 / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.825, allocations: 51.94 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.8255, allocations: 272.9 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.8258, allocations: 62.41 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.8259, allocations: 32.89 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.8259, allocations: 7.938 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.826, allocations: 34.55 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.826, allocations: 0 / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005636/0.8266, allocations: 117.7 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.8266, allocations: 59.34 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.8268, allocations: 97.84 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.8268, allocations: 25.7 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.8269, allocations: 84.14 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.8269, allocations: 3.953 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.827, allocations: 21.7 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8271, allocations: 314.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.8273, allocations: 32 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.8274, allocations: 23.97 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.8277, allocations: 56.88 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8277, allocations: 7.922 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003133/0.828, allocations: 89.52 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.828, allocations: 10.19 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.8281, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.8281, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.8282, allocations: 16.02 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.8283, allocations: 3.984 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.8283, allocations: 8 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.8284, allocations: 7.984 kB / 1.172 GB, free: 15.16 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.8285, allocations: 109.8 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.8285, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.8286, allocations: 11.12 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8286, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8286, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8286, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.8289, allocations: 177.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8289, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.829, allocations: 19.97 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.829, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.829, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.829, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.829, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/0.8295, allocations: 195.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.8295, allocations: 77.11 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.8296, allocations: 4.031 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8297, allocations: 11.92 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.8297, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.8297, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.43e-05/0.8298, allocations: 87.27 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8298, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002635/0.8301, allocations: 8 kB / 1.172 GB, free: 14.37 MB / 0.9044 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 (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.0001905/0.8303, allocations: 115.2 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.8306, allocations: 55.94 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8307, allocations: 0 / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.8308, allocations: 35.84 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.8311, allocations: 18.3 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.8316, allocations: 134.5 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.8319, allocations: 0.6768 MB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.616e-05/0.832, allocations: 8 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.8321, allocations: 15.44 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.8321, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003456/0.8355, allocations: 0.7855 MB / 1.174 GB, free: 12.47 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches