Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.0009/0.0009, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009766/0.0009766, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9164/0.9164, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.264/2.264, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.8385 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.326e-06/9.368e-06, allocations: 6.312 kB / 0.8386 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001574/0.001584, allocations: 1.471 MB / 0.84 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000332/0.001916, allocations: 219.4 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.001939, allocations: 4 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.001959, allocations: 0 / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.001998, allocations: 11.88 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.002162, allocations: 23.84 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.446e-05/0.002217, allocations: 27.92 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.002273, allocations: 7.984 kB / 0.8403 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.002316, allocations: 8 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.002347, allocations: 19.91 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.002358, allocations: 0 / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.002422, allocations: 31.98 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.002436, allocations: 7.922 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.00245, allocations: 8 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.58e-05/0.002535, allocations: 35.89 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.002537, allocations: 0 / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002537, allocations: 0 / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.505e-06/0.00254, allocations: 3.938 kB / 0.8404 GB, free: 12.4 MB / 0.8073 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.0002199/0.00276, allocations: 232.6 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.464e-05/0.002784, allocations: 8.031 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.002893, allocations: 16.86 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.428e-05/0.002957, allocations: 113.8 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.002965, allocations: 4.375 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.002972, allocations: 384 / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.315e-05/0.003045, allocations: 54.94 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.00305, allocations: 192 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.003055, allocations: 384 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.003058, allocations: 4.312 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.00308, allocations: 7.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.003244, allocations: 148.2 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.003275, allocations: 18.58 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.063e-05/0.003286, allocations: 12.92 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.003295, allocations: 0 / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.003312, allocations: 42.53 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003313, allocations: 0 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.334e-05/0.003386, allocations: 29.7 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.003412, allocations: 59.34 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.003458, allocations: 110.7 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.003467, allocations: 25.7 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.003491, allocations: 84.14 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.003507, allocations: 7.953 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.003526, allocations: 17.83 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.003594, allocations: 318.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.003601, allocations: 4 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.003607, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.72e-05/0.003624, allocations: 16.8 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.003625, allocations: 0 / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.385e-05/0.003659, allocations: 33.69 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.003669, allocations: 10.5 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.003672, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.003681, allocations: 8.031 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.032e-05/0.003721, allocations: 7.938 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.003723, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.00374, allocations: 7.984 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-06/0.003743, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 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.602e-05/0.003789, allocations: 109.8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.0038, allocations: 7.938 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.003857, allocations: 44.98 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.003858, allocations: 0 / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.00386, allocations: 7.938 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.003862, allocations: 0 / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.615e-05/0.003939, allocations: 69.84 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.003939, allocations: 0 / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.003961, allocations: 15.98 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.003962, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.003966, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003966, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.003967, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.504e-05/0.004032, allocations: 139.4 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.004037, allocations: 4 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.004044, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.004073, allocations: 3.984 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.004095, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.004097, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.16e-05/0.004108, allocations: 16.8 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004108, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001104/0.004219, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 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 5.572e-05/0.004274, allocations: 80.41 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.312e-05/0.004318, allocations: 8.859 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.004319, allocations: 12 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.004332, allocations: 8.859 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.004441, allocations: 13.48 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.004735, allocations: 120.6 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.004764, allocations: 59.34 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.706e-05/0.004781, allocations: 4.516 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.004826, allocations: 59.31 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of SimCode: time 3.1e-07/0.004826, allocations: 0 / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of Templates: time 0.001722/0.006548, allocations: 0.6578 MB / 0.8431 GB, free: 9.332 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.845517708919942]