Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.001419/0.001419, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001519/0.001519, 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.9456/0.9456, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.436/2.436, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.207e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001254/0.001276, allocations: 0.6067 MB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001573/0.001434, allocations: 43.81 kB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.001483, allocations: 3.938 kB / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.001511, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.001652, allocations: 0 / 0.8392 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.426e-05/0.001697, allocations: 15.92 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.001745, allocations: 4 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.00178, allocations: 7.984 kB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.605e-05/0.001836, allocations: 7.922 kB / 0.8393 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.001908, allocations: 16 kB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.001922, allocations: 0 / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-06/0.001928, allocations: 0 / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.001966, allocations: 7.984 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.001984, allocations: 3.938 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.004e-05/0.002044, allocations: 19.91 kB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002046, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002047, allocations: 0 / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.00205, allocations: 0 / 0.8393 GB, free: 13.46 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002339/0.002284, allocations: 225 kB / 0.8395 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.002317, allocations: 16.62 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.002338, allocations: 0.9375 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.002442, allocations: 113.7 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.002448, allocations: 384 / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.002461, allocations: 4.375 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.709e-05/0.002518, allocations: 33.03 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.002524, allocations: 192 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.002529, allocations: 384 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002534, allocations: 384 / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-06/0.002543, allocations: 7.938 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.281e-05/0.002616, allocations: 63.86 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.198e-05/0.002648, allocations: 22.59 kB / 0.8398 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.037e-05/0.002658, allocations: 8.859 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.002667, allocations: 0 / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.00269, allocations: 38.56 kB / 0.8398 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 4.41e-07/0.00269, allocations: 0 / 0.8398 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.561e-05/0.002776, allocations: 29.7 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.002802, allocations: 51.41 kB / 0.8399 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.002861, allocations: 110.7 kB / 0.84 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.00287, allocations: 25.7 kB / 0.84 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.002892, allocations: 92.25 kB / 0.8401 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.002911, allocations: 3.953 kB / 0.8401 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.002934, allocations: 21.64 kB / 0.8401 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.003008, allocations: 318.8 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.003016, allocations: 2.828 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.003031, allocations: 21.64 kB / 0.8405 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.003059, allocations: 20.53 kB / 0.8405 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.003061, allocations: 0 / 0.8405 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.431e-05/0.003106, allocations: 44.53 kB / 0.8405 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.003116, allocations: 4 kB / 0.8405 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.003119, allocations: 0 / 0.8405 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.003133, allocations: 4 kB / 0.8405 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.00318, allocations: 3.984 kB / 0.8405 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.003183, allocations: 4 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.003194, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.003198, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.84e-05/0.003247, allocations: 116.6 kB / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-06/0.003251, allocations: 0 / 0.8407 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.003313, allocations: 49.16 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.003316, allocations: 7.984 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.003317, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.003319, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.802e-05/0.003377, allocations: 73.77 kB / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.003378, allocations: 0 / 0.8408 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.003405, allocations: 4 kB / 0.8408 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.003406, allocations: 0 / 0.8408 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.003417, allocations: 0 / 0.8408 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003417, allocations: 0 / 0.8408 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.003418, allocations: 0 / 0.8408 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.807e-05/0.003496, allocations: 82.73 kB / 0.8409 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.003511, allocations: 7.938 kB / 0.8409 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.003519, allocations: 0 / 0.8409 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.003528, allocations: 4.234 kB / 0.8409 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-06/0.003537, allocations: 0 / 0.8409 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.00354, allocations: 4 kB / 0.8409 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.339e-05/0.003553, allocations: 12.86 kB / 0.8409 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.003553, allocations: 0 / 0.8409 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.057e-05/0.003644, allocations: 0 / 0.8409 GB, free: 11.61 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 6.659e-05/0.00371, allocations: 84.42 kB / 0.841 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.759e-05/0.003758, allocations: 12.84 kB / 0.841 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.00376, allocations: 0 / 0.841 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.00377, allocations: 16.8 kB / 0.841 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.341e-05/0.003834, allocations: 5.656 kB / 0.841 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.004025, allocations: 115.4 kB / 0.8411 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.004054, allocations: 59.33 kB / 0.8412 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.004072, allocations: 7.953 kB / 0.8412 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.004105, allocations: 51.56 kB / 0.8412 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.004106, allocations: 0 / 0.8412 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.001606/0.005712, allocations: 365.1 kB / 0.8416 GB, free: 10.85 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.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: 5.14148594904691]