Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.537/2.537, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9494/0.9509, allocations: 140.4 MB / 0.9496 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002289/0.9533, allocations: 1.28 MB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008422/0.9541, allocations: 0.573 MB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.9542, allocations: 4 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.9542, allocations: 0 / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.9543, allocations: 5.312 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.9547, allocations: 92.22 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.9547, allocations: 24.73 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.9548, allocations: 6.219 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.9548, allocations: 3.281 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.9549, allocations: 12.42 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.9549, allocations: 4 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.9552, allocations: 142 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.9552, allocations: 1.062 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.9552, allocations: 11.34 kB / 0.9517 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.9554, allocations: 89.53 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.9555, allocations: 0 / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9555, allocations: 0 / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.9555, allocations: 1.125 kB / 0.9518 GB, free: 7.496 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003528/0.9558, allocations: 348.2 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.9559, allocations: 10.34 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.9563, allocations: 32.23 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.9564, allocations: 166.3 kB / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.9564, allocations: 384 / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.9564, allocations: 1.906 kB / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.9566, allocations: 50.53 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9566, allocations: 4.188 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9566, allocations: 3.938 kB / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9567, allocations: 0 / 0.9524 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.9568, allocations: 28.12 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.9569, allocations: 157.5 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.9571, allocations: 41.19 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.9572, allocations: 19.72 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.9572, allocations: 0 / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.9572, allocations: 31.88 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.9572, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003139/0.9576, allocations: 85.53 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.9576, allocations: 51.41 kB / 0.9528 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.9576, allocations: 102 kB / 0.9529 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.9577, allocations: 25.7 kB / 0.9529 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.636e-05/0.9577, allocations: 80.14 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.9577, allocations: 1.094 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.9577, allocations: 20.36 kB / 0.953 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.9578, allocations: 316.2 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.9579, allocations: 14.67 kB / 0.9533 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.9579, allocations: 10.45 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.9581, allocations: 30.84 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.9581, allocations: 64 / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.9582, allocations: 67.3 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.9583, allocations: 4.062 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.9583, allocations: 13.16 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9583, allocations: 0 / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.9584, allocations: 10.05 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9584, allocations: 3.984 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.9585, allocations: 1.688 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.9585, allocations: 9.578 kB / 0.9534 GB, free: 5.742 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 7.126e-05/0.9586, allocations: 107.2 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.9586, allocations: 1.219 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.9587, allocations: 11.06 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.9587, allocations: 1.719 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9587, allocations: 0 / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.9587, allocations: 192 / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.497e-05/0.9588, allocations: 161.7 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.9588, allocations: 5.391 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.9589, allocations: 8.078 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9589, allocations: 5.031 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9589, allocations: 3.938 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9589, allocations: 1.344 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9589, allocations: 7.922 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.9591, allocations: 84.36 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.9591, allocations: 82.44 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.9592, allocations: 3.938 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.9592, allocations: 2.5 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.9592, allocations: 1.562 kB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.9593, allocations: 0 / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.9593, allocations: 86.14 kB / 0.954 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9593, allocations: 4.031 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002257/0.9595, allocations: 11.47 kB / 0.954 GB, free: 5.121 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.0002003/0.9597, allocations: 115.5 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.9599, allocations: 32.28 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.96, allocations: 0 / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-05/0.96, allocations: 20.83 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.9603, allocations: 3.5 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.9607, allocations: 115.7 kB / 0.9543 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.9608, allocations: 0.6763 MB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.499e-05/0.9609, allocations: 18.89 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.9609, allocations: 9.719 kB / 0.955 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.9609, allocations: 0 / 0.955 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.003409/0.9643, allocations: 0.7405 MB / 0.9557 GB, free: 3.77 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches