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.001627/0.001626, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001802/0.001802, allocations: 187 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.15 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.629/2.629, allocations: 437 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 71.89 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9335/0.9348, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002984/0.9379, allocations: 1.414 MB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.939, allocations: 0.5952 MB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.9391, allocations: 4 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.9391, allocations: 0 / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.9392, allocations: 7.938 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.9397, allocations: 99.55 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.388e-05/0.9398, allocations: 31.86 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.9399, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.94, allocations: 11.94 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.551e-05/0.94, allocations: 15.92 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.9401, allocations: 4 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.9404, allocations: 143.8 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.9404, allocations: 8 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.9404, allocations: 11.94 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.9407, allocations: 95.61 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.9408, allocations: 4 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9408, allocations: 0 / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9408, allocations: 0 / 1.17 GB, free: 1.449 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.0005841/0.9414, allocations: 357.2 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.9414, allocations: 12.92 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.9419, allocations: 36.89 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.9421, allocations: 168.3 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.9421, allocations: 384 / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.9421, allocations: 4.375 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.9424, allocations: 62.2 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9424, allocations: 192 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.9424, allocations: 11.92 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9424, allocations: 0 / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.9427, allocations: 51.94 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.9432, allocations: 268.9 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.9434, allocations: 66.41 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.9436, allocations: 32.89 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.9436, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.9436, allocations: 34.56 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9436, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005134/0.9441, allocations: 121.5 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.9442, allocations: 51.53 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.9443, allocations: 105.8 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.9443, allocations: 29.64 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.9444, allocations: 80.14 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.9444, allocations: 7.906 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.9445, allocations: 21.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9446, allocations: 318.8 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.9448, allocations: 27.97 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.9449, allocations: 27.97 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.9451, allocations: 52.8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9451, allocations: 64 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003032/0.9455, allocations: 97.52 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.9455, allocations: 6.5 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9455, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9455, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.9457, allocations: 19.97 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9457, allocations: 4.031 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.555e-05/0.9458, allocations: 11.98 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.9458, allocations: 0 / 1.172 GB, free: 15.18 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 8.322e-05/0.9459, allocations: 109.8 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.9459, allocations: 4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.946, allocations: 7.125 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.946, allocations: 4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.946, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.946, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.9462, allocations: 169.6 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9462, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.9463, allocations: 11.98 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9463, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.9464, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.9464, allocations: 4 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9464, allocations: 0 / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.9467, allocations: 199.3 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.9468, allocations: 81.05 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.9468, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.9469, allocations: 12.02 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.947, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.947, allocations: 7.922 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.947, allocations: 83.28 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.947, allocations: 0 / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002586/0.9473, allocations: 12 kB / 1.172 GB, free: 14.39 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.0002002/0.9475, allocations: 111.2 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.9478, allocations: 59.88 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9479, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.948, allocations: 35.97 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.9483, allocations: 10.28 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.9489, allocations: 156.4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.9491, allocations: 0.6771 MB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.9492, allocations: 15.42 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.9492, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of Templates: time 0.002578/0.9518, allocations: 0.9027 MB / 1.174 GB, free: 12.37 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 -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