Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 166.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.761/2.761, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.445e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004184/0.004219, allocations: 1.432 MB / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.006092, allocations: 0.5653 MB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.006135, allocations: 0 / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.006167, allocations: 0 / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.006256, allocations: 7.875 kB / 0.9529 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.006949, allocations: 103.5 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.00705, allocations: 23.92 kB / 0.953 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.007169, allocations: 4 kB / 0.953 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.007255, allocations: 15.98 kB / 0.953 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.007328, allocations: 15.92 kB / 0.9531 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.00735, allocations: 4 kB / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.007845, allocations: 135.7 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.007861, allocations: 0 / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.007901, allocations: 15.92 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.008322, allocations: 115.7 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.008328, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.008329, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.008337, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 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.0008018/0.009138, allocations: 291.9 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.009199, allocations: 8.031 kB / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/0.01001, allocations: 36.84 kB / 0.9536 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.01018, allocations: 101.8 kB / 0.9537 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.01021, allocations: 8.359 kB / 0.9537 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.01023, allocations: 384 / 0.9537 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.01069, allocations: 74.19 kB / 0.9538 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.0107, allocations: 192 / 0.9538 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01072, allocations: 384 / 0.9538 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.01073, allocations: 384 / 0.9538 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.01123, allocations: 59.81 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.01193, allocations: 216.5 kB / 0.9541 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.01234, allocations: 62.53 kB / 0.9541 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.0126, allocations: 28.89 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.01263, allocations: 0 / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.0127, allocations: 42.44 kB / 0.9542 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.0127, allocations: 0 / 0.9542 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0009748/0.01367, allocations: 117.5 kB / 0.9543 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.01375, allocations: 51.41 kB / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.0139, allocations: 105.8 kB / 0.9545 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.01394, allocations: 25.7 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.01402, allocations: 84.22 kB / 0.9546 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.01406, allocations: 7.953 kB / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.01413, allocations: 17.7 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002274/0.01436, allocations: 314.8 kB / 0.9549 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.01461, allocations: 27.97 kB / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.01484, allocations: 23.97 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.01535, allocations: 64.8 kB / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01535, allocations: 0 / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005875/0.01594, allocations: 81.64 kB / 0.9551 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.01597, allocations: 12.03 kB / 0.9551 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.01598, allocations: 7.875 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.016, allocations: 0 / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.01624, allocations: 23.97 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.01624, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01639, allocations: 4 kB / 0.9551 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.01642, allocations: 7.984 kB / 0.9551 GB, free: 7.094 MB / 0.8575 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 0.0001339/0.01655, allocations: 105.8 kB / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.0166, allocations: 0 / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.01666, allocations: 15.25 kB / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01666, allocations: 0 / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.01667, allocations: 3.938 kB / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01667, allocations: 0 / 0.9553 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.01694, allocations: 117.3 kB / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01694, allocations: 0 / 0.9554 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.01714, allocations: 15.97 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01714, allocations: 0 / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01716, allocations: 4 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.01716, allocations: 3.938 kB / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01716, allocations: 0 / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.01783, allocations: 183.4 kB / 0.9556 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.01783, allocations: 0 / 0.9556 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.01787, allocations: 4 kB / 0.9556 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.01809, allocations: 20.14 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.01814, allocations: 3.938 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.01816, allocations: 3.984 kB / 0.9556 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.078e-05/0.01824, allocations: 83.27 kB / 0.9557 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01824, allocations: 0 / 0.9557 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004762/0.01871, allocations: 19.88 kB / 0.9557 GB, free: 6.465 MB / 0.8575 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.000283/0.019, allocations: 115.2 kB / 0.9558 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.01956, allocations: 59.94 kB / 0.9559 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01956, allocations: 0 / 0.9559 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.01983, allocations: 27.97 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.0203, allocations: 7.938 kB / 0.9559 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.02101, allocations: 140.8 kB / 0.956 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02112, allocations: 67.28 kB / 0.9561 GB, free: 6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.02123, allocations: 4 kB / 0.9561 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.02129, allocations: 12.5 kB / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.02129, allocations: 0 / 0.9561 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of Templates: time 0.005959/0.02725, allocations: 0.8215 MB / 0.9569 GB, free: 5.176 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.911756686866283]