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.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.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.001581/0.001581, allocations: 106.4 kB / 16.36 MB, free: 5.875 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.001809/0.001809, allocations: 191 kB / 17.29 MB, free: 5.516 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.215/2.215, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 62.97 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2571, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002226/0.2593, allocations: 1.286 MB / 0.9524 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008142/0.2601, allocations: 0.5831 MB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.2602, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.2602, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.2603, allocations: 7.938 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.2606, allocations: 95.55 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.2607, allocations: 19.88 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.2607, allocations: 4 kB / 0.9531 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.2608, allocations: 7.938 kB / 0.9531 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.2608, allocations: 7.984 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2608, allocations: 4 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2611, allocations: 143.8 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.2611, allocations: 0 / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.2611, allocations: 7.938 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2613, allocations: 91.78 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2613, allocations: 3.938 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2613, allocations: 0 / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2613, allocations: 4 kB / 0.9533 GB, free: 5.785 MB / 0.7325 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.0003463/0.2617, allocations: 347.4 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2617, allocations: 8.031 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.2621, allocations: 28.89 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2622, allocations: 160.4 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2623, allocations: 4.375 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.2623, allocations: 4.375 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.2624, allocations: 50.22 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2625, allocations: 192 / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2625, allocations: 3.938 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2625, allocations: 0 / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.2626, allocations: 23.92 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.2628, allocations: 165.6 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2629, allocations: 34.66 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.263, allocations: 20.84 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.263, allocations: 0 / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.263, allocations: 42.56 kB / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.263, allocations: 0 / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002941/0.2633, allocations: 77.44 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2634, allocations: 55.41 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.2635, allocations: 102 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2635, allocations: 25.7 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.2635, allocations: 88.25 kB / 0.9545 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.2636, allocations: 3.906 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.2636, allocations: 21.64 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2637, allocations: 314.8 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.2638, allocations: 11.98 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.2638, allocations: 11.94 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.264, allocations: 36.89 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.264, allocations: 3.938 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001544/0.2641, allocations: 57.67 kB / 0.9549 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2641, allocations: 5.875 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2641, allocations: 3.984 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2642, allocations: 12.02 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.2643, allocations: 7.984 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2643, allocations: 0 / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.2643, allocations: 4 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2644, allocations: 4 kB / 0.955 GB, free: 3.855 MB / 0.7325 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.071e-05/0.2644, allocations: 115.7 kB / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.2645, allocations: 0 / 0.9551 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.2645, allocations: 15.06 kB / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2645, allocations: 0 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2645, allocations: 0 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2645, allocations: 0 / 0.9551 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.558e-05/0.2646, allocations: 153.7 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2646, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.2647, allocations: 7.984 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2647, allocations: 7.938 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2647, allocations: 3.938 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2647, allocations: 0 / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2647, allocations: 4 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2649, allocations: 85.09 kB / 0.9554 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.265, allocations: 89 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.265, allocations: 3.938 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.2651, allocations: 8.031 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.2651, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2651, allocations: 0 / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.2652, allocations: 83.27 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2652, allocations: 0 / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001992/0.2654, allocations: 16 kB / 0.9555 GB, free: 3.18 MB / 0.7325 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.000148/0.2655, allocations: 107.2 kB / 0.9556 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.2657, allocations: 47.84 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2657, allocations: 0 / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.922e-05/0.2658, allocations: 15.92 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.266, allocations: 8 kB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.2663, allocations: 106.8 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2665, allocations: 0.6766 MB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.686e-05/0.2666, allocations: 8 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.2666, allocations: 11.42 kB / 0.9565 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of SimCode: time 1.322e-06/0.2666, allocations: 4 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of Templates: time 0.002775/0.2694, allocations: 0.7422 MB / 0.9572 GB, free: 1.406 MB / 0.7325 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 -s gbode -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/jenkins1/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