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.001758/0.001757, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002148/0.002148, allocations: 191 kB / 16.25 MB, free: 6.629 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.567/2.567, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8701, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002729/0.8729, allocations: 1.462 MB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.874, allocations: 0.5956 MB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.874, allocations: 1.062 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.8741, allocations: 3.938 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.8742, allocations: 9.125 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.8746, allocations: 84 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.8747, allocations: 31.23 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.8748, allocations: 2.844 kB / 0.9512 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.8749, allocations: 15.58 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.8749, allocations: 11.36 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.875, allocations: 2 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.8753, allocations: 150.5 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.8753, allocations: 7.938 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.8753, allocations: 8.156 kB / 0.9514 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.8756, allocations: 100.8 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.8756, allocations: 1.125 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8756, allocations: 4 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.8756, allocations: 0 / 0.9515 GB, free: 7.285 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.0005553/0.8762, allocations: 362.7 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.8762, allocations: 12.69 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.8767, allocations: 33.41 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.8768, allocations: 170.5 kB / 0.9521 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.8769, allocations: 4.375 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.8769, allocations: 2.406 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.8771, allocations: 61.45 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.8771, allocations: 1.25 kB / 0.9521 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.8772, allocations: 3.938 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8772, allocations: 1.438 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.8774, allocations: 55 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.8779, allocations: 276.1 kB / 0.9524 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.8781, allocations: 63.84 kB / 0.9525 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.8783, allocations: 34.92 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.8783, allocations: 1.156 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.8783, allocations: 35.53 kB / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8783, allocations: 0 / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005653/0.8789, allocations: 119.3 kB / 0.9527 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.8789, allocations: 55.34 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/0.879, allocations: 102.8 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.879, allocations: 27.39 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.8791, allocations: 84.27 kB / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.8791, allocations: 5.25 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.8792, allocations: 20.14 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.8793, allocations: 312.7 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.8794, allocations: 24.88 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.8795, allocations: 30.81 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.8798, allocations: 52.31 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8798, allocations: 0 / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003024/0.8801, allocations: 97.69 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.8801, allocations: 5.906 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8802, allocations: 1.219 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.8802, allocations: 0 / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.8803, allocations: 16.33 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.8804, allocations: 0 / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.413e-05/0.8805, allocations: 13.33 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.8805, allocations: 9.109 kB / 0.9535 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 9.214e-05/0.8806, allocations: 111.1 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.8806, allocations: 6.188 kB / 0.9536 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.8807, allocations: 8.875 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8807, allocations: 0 / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8807, allocations: 0 / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8807, allocations: 0 / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.8809, allocations: 163.7 kB / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8809, allocations: 5.219 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.881, allocations: 15.56 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.881, allocations: 192 / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.881, allocations: 1.281 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.881, allocations: 0 / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.881, allocations: 1.5 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.8813, allocations: 196.4 kB / 0.954 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.8814, allocations: 81.05 kB / 0.9541 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.8814, allocations: 1.406 kB / 0.9541 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.8815, allocations: 9.172 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.8816, allocations: 1.281 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.8816, allocations: 1.375 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.8817, allocations: 89.83 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8817, allocations: 3.938 kB / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002528/0.8819, allocations: 12.22 kB / 0.9542 GB, free: 4.602 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.0002509/0.8822, allocations: 110.7 kB / 0.9543 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.8825, allocations: 62.78 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8826, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.8827, allocations: 31.75 kB / 0.9544 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.0004212/0.8831, allocations: 10.8 kB / 0.9544 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.8837, allocations: 144 kB / 0.9545 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.884, allocations: 0.6845 MB / 0.9552 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.33e-05/0.8841, allocations: 6.906 kB / 0.9552 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.8841, allocations: 9.719 kB / 0.9552 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/0.8841, allocations: 0 / 0.9552 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.003745/0.8879, allocations: 0.7323 MB / 0.9559 GB, free: 3.211 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