Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 100.1 kB / 15.88 MB, free: 12 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.001733/0.001733, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 68.05 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6826, allocations: 140.4 MB / 0.9496 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00241/0.6851, allocations: 1.458 MB / 0.951 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.6856, allocations: 205.2 kB / 0.9512 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.6856, allocations: 0 / 0.9512 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.6857, allocations: 5.375 kB / 0.9512 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.6857, allocations: 0 / 0.9512 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.6859, allocations: 24.11 kB / 0.9512 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.6859, allocations: 27.16 kB / 0.9513 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.111e-05/0.686, allocations: 2.969 kB / 0.9513 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.6861, allocations: 11.83 kB / 0.9513 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.107e-05/0.6861, allocations: 10.48 kB / 0.9513 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.6861, allocations: 1.188 kB / 0.9513 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.6862, allocations: 31.41 kB / 0.9513 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.6862, allocations: 0 / 0.9513 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.6863, allocations: 15.5 kB / 0.9513 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.559e-05/0.6864, allocations: 23.98 kB / 0.9513 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6864, allocations: 5.094 kB / 0.9514 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6864, allocations: 0 / 0.9514 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6864, allocations: 0 / 0.9514 GB, free: 8.129 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.0003495/0.6867, allocations: 343.2 kB / 0.9517 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6868, allocations: 8.031 kB / 0.9517 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.6869, allocations: 11.81 kB / 0.9517 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/0.687, allocations: 173.7 kB / 0.9519 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.687, allocations: 1.875 kB / 0.9519 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.687, allocations: 2.062 kB / 0.9519 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.6872, allocations: 52.95 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.6872, allocations: 192 / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6872, allocations: 3.938 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.6872, allocations: 1.219 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.6874, allocations: 33.98 kB / 0.952 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.6877, allocations: 249.6 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6878, allocations: 44.16 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.6879, allocations: 26.39 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6879, allocations: 0 / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.6879, allocations: 31.94 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.688, allocations: 4 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000332/0.6883, allocations: 89.19 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.6883, allocations: 51.41 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.6884, allocations: 95.36 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.6884, allocations: 29.7 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.6884, allocations: 89.48 kB / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6884, allocations: 9.406 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.6885, allocations: 11.09 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.6885, allocations: 316.2 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.6886, allocations: 13.61 kB / 0.953 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.6887, allocations: 20.22 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.6888, allocations: 40.14 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6888, allocations: 0 / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/0.689, allocations: 72.91 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6891, allocations: 5.5 kB / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6891, allocations: 0 / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6891, allocations: 0 / 0.9531 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.6892, allocations: 10.86 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6892, allocations: 0 / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.6892, allocations: 8.156 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.6892, allocations: 0 / 0.9531 GB, free: 6.301 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 4.952e-05/0.6893, allocations: 128.4 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.6893, allocations: 9.219 kB / 0.9532 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.6896, allocations: 75.5 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.6896, allocations: 5.219 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6896, allocations: 0 / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6896, allocations: 0 / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.6897, allocations: 163.4 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6897, allocations: 0 / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.6898, allocations: 12.2 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6898, allocations: 0 / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6898, allocations: 0 / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6898, allocations: 1.688 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6898, allocations: 0 / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.69, allocations: 173 kB / 0.9537 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.69, allocations: 78.05 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.6901, allocations: 4.891 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.6902, allocations: 4.406 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.6902, allocations: 9.484 kB / 0.9538 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.6902, allocations: 3.938 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.225e-05/0.6902, allocations: 82.44 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6902, allocations: 1.594 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002167/0.6905, allocations: 4.594 kB / 0.9538 GB, free: 5.543 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 (3): * Single equations (assignments): 3 * 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 7.472e-05/0.6905, allocations: 95.53 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.6907, allocations: 42.08 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6908, allocations: 0 / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.6908, allocations: 22.52 kB / 0.954 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.6911, allocations: 11.44 kB / 0.954 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.6914, allocations: 157.5 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.6915, allocations: 0.6747 MB / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.6915, allocations: 12.61 kB / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.6915, allocations: 0 / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.001656/0.6932, allocations: 0.5661 MB / 0.9554 GB, free: 4.273 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches