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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001311/0.001312, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.001322/0.001322, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.492/1.492, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.736/2.736, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.98 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7274, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.0026/0.73, allocations: 1.401 MB / 1.084 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.731, allocations: 0.5938 MB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.731, allocations: 0 / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.7311, allocations: 1.156 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.7311, allocations: 20.41 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.7315, allocations: 96.12 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.7316, allocations: 21.83 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.7317, allocations: 7.375 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.7318, allocations: 9.844 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.7318, allocations: 14.72 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.7318, allocations: 5.953 kB / 1.085 GB, free: 164 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.7321, allocations: 142.9 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.7322, allocations: 5.125 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.7322, allocations: 11.72 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.7324, allocations: 102.5 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7324, allocations: 1.344 kB / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7325, allocations: 0 / 1.085 GB, free: 84 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.7325, allocations: 0 / 1.085 GB, free: 84 kB / 0.8262 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.0004967/0.733, allocations: 364.1 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.733, allocations: 9.406 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004436/0.7335, allocations: 30.97 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.7336, allocations: 167.3 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.7336, allocations: 1.812 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.7337, allocations: 1.625 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.7339, allocations: 68.12 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7339, allocations: 192 / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.7339, allocations: 7.938 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7339, allocations: 1.375 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.7342, allocations: 51.33 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.7347, allocations: 276.5 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.735, allocations: 62.19 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.7351, allocations: 31.61 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.7351, allocations: 1.312 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.7352, allocations: 39.45 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7352, allocations: 0.875 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0005347/0.7357, allocations: 111 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.7358, allocations: 64.56 kB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.7359, allocations: 101.1 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.7359, allocations: 25.7 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.736, allocations: 81.81 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.736, allocations: 9.828 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.7361, allocations: 15.08 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7362, allocations: 313.1 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.7364, allocations: 30.11 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.7365, allocations: 25.2 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.7368, allocations: 58.39 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7368, allocations: 8 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003321/0.7372, allocations: 92.27 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7372, allocations: 5.219 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7372, allocations: 0.5625 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7372, allocations: 4.703 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.7374, allocations: 17.52 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7374, allocations: 1.312 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.7375, allocations: 8.25 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.7375, allocations: 2.797 kB / 1.087 GB, free: 14.3 MB / 0.8419 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 0.0001516/0.7376, allocations: 116 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.7377, allocations: 1.344 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.7377, allocations: 9 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.7377, allocations: 0.7031 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7377, allocations: 1.188 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7377, allocations: 0 / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.7379, allocations: 168.9 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7379, allocations: 0 / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.7381, allocations: 14.16 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7381, allocations: 0 / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7381, allocations: 2.531 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7381, allocations: 0 / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7381, allocations: 6.172 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.7385, allocations: 190.8 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.7385, allocations: 81.05 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.7386, allocations: 2.359 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.7387, allocations: 15.52 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.7387, allocations: 3.25 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.7387, allocations: 0.9844 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.7388, allocations: 80.45 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.7388, allocations: 1.156 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002519/0.7391, allocations: 14.12 kB / 1.088 GB, free: 13.63 MB / 0.8419 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.0001818/0.7392, allocations: 111.1 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.7396, allocations: 62.64 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.7396, allocations: 1.188 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.7398, allocations: 32.61 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.7401, allocations: 11.05 kB / 1.088 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.7406, allocations: 154.2 kB / 1.088 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.7409, allocations: 0.6835 MB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.741, allocations: 12.09 kB / 1.089 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.741, allocations: 1.25 kB / 1.089 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.002694/0.7437, allocations: 0.9035 MB / 1.09 GB, free: 12.6 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches