Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001566/0.001566, allocations: 198.4 kB / 16.14 MB, free: 6.801 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9472, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003006/0.9503, allocations: 1.469 MB / 0.9503 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.9513, allocations: 0.6014 MB / 0.9509 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.9514, allocations: 2.031 kB / 0.9509 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.9514, allocations: 0 / 0.9509 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.9515, allocations: 3.984 kB / 0.9509 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.9518, allocations: 83.42 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.9519, allocations: 26.3 kB / 0.951 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.952, allocations: 7.125 kB / 0.951 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.952, allocations: 16.55 kB / 0.9511 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.269e-05/0.9521, allocations: 2.844 kB / 0.9511 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.9521, allocations: 5.156 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.9524, allocations: 154.1 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.9524, allocations: 7.922 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.9524, allocations: 6.875 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.9527, allocations: 98.41 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9527, allocations: 3.938 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9527, allocations: 4 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.9527, allocations: 0 / 0.9513 GB, free: 7.273 MB / 0.7169 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.0004137/0.9531, allocations: 362.7 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9532, allocations: 9.438 kB / 0.9517 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.9536, allocations: 33.34 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.9537, allocations: 169.7 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.9537, allocations: 4.375 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.9537, allocations: 1.75 kB / 0.9519 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.954, allocations: 62.7 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.954, allocations: 192 / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.954, allocations: 5.312 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.954, allocations: 3.984 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.9543, allocations: 55.44 kB / 0.952 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.9547, allocations: 280 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.9549, allocations: 64.81 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.9551, allocations: 27.09 kB / 0.9524 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.9551, allocations: 3.984 kB / 0.9524 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.9551, allocations: 35.81 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.9551, allocations: 0 / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005069/0.9557, allocations: 115.5 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.9557, allocations: 51.41 kB / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.9558, allocations: 103 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.9558, allocations: 25.7 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.9558, allocations: 85.52 kB / 0.9528 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.9559, allocations: 5.094 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.9559, allocations: 20.33 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.956, allocations: 312.3 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.9561, allocations: 26.72 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.9562, allocations: 24.75 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.9565, allocations: 57.22 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9565, allocations: 0 / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002833/0.9567, allocations: 102.5 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9568, allocations: 5.594 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.9568, allocations: 1.25 kB / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9568, allocations: 0 / 0.9533 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.9569, allocations: 12.08 kB / 0.9533 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.957, allocations: 3.938 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.9571, allocations: 9.266 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.9571, allocations: 5.25 kB / 0.9533 GB, free: 5.312 MB / 0.7169 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 6.771e-05/0.9571, allocations: 120 kB / 0.9534 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.9572, allocations: 5.25 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.9572, allocations: 8.656 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.9572, allocations: 0 / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9572, allocations: 0 / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9573, allocations: 1.375 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.9574, allocations: 163 kB / 0.9536 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9574, allocations: 4 kB / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.9575, allocations: 15.81 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.9575, allocations: 1.5 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.9575, allocations: 3.938 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9576, allocations: 1.719 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9576, allocations: 0 / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.9579, allocations: 189 kB / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.9579, allocations: 81.05 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.9579, allocations: 1.531 kB / 0.9539 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.9581, allocations: 7.984 kB / 0.9539 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.9581, allocations: 1.469 kB / 0.9539 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.9581, allocations: 5.281 kB / 0.9539 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.9582, allocations: 87.33 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9582, allocations: 0 / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002545/0.9584, allocations: 14.5 kB / 0.954 GB, free: 4.598 MB / 0.7169 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.0001889/0.9586, allocations: 106.5 kB / 0.9541 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003333/0.959, allocations: 63.41 kB / 0.9542 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.959, allocations: 0 / 0.9542 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.9591, allocations: 32.62 kB / 0.9542 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.9594, allocations: 5.531 kB / 0.9542 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.9599, allocations: 154.6 kB / 0.9544 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.9601, allocations: 0.6768 MB / 0.955 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.974e-05/0.9602, allocations: 14.45 kB / 0.955 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.9602, allocations: 10.03 kB / 0.955 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.9602, allocations: 0 / 0.955 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.002996/0.9632, allocations: 0.7088 MB / 0.9557 GB, free: 3.223 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches