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.001502/0.001502, 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.00148/0.00148, 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.9576/0.9576, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.293/2.293, allocations: 438.8 MB / 0.6826 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.253e-06/1.253e-06, allocations: 0 / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.847e-05, allocations: 8.5 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001072/0.001091, allocations: 0.5519 MB / 0.8391 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.001232, allocations: 39.83 kB / 0.8391 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.001278, allocations: 3.938 kB / 0.8391 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.001309, allocations: 0 / 0.8391 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.001446, allocations: 11.94 kB / 0.8391 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.352e-05/0.00149, allocations: 7.969 kB / 0.8392 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.866e-05/0.001539, allocations: 8 kB / 0.8392 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.001571, allocations: 7.984 kB / 0.8392 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.001624, allocations: 11.94 kB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.001694, allocations: 7.984 kB / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.001711, allocations: 0 / 0.8392 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-06/0.001718, allocations: 4 kB / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.001757, allocations: 0 / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.001778, allocations: 11.92 kB / 0.8392 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.309e-05/0.001831, allocations: 11.92 kB / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.001832, allocations: 0 / 0.8392 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001833, allocations: 4 kB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.485e-06/0.001835, allocations: 0 / 0.8392 GB, free: 13.55 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.0002691/0.002105, allocations: 229 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.002139, allocations: 8.625 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.002162, allocations: 4.875 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.002276, allocations: 121.7 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.002284, allocations: 384 / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.002301, allocations: 384 / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.029e-05/0.002361, allocations: 29.09 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.002369, allocations: 4.188 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.002374, allocations: 4.375 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.002379, allocations: 384 / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-06/0.002388, allocations: 7.922 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.4e-05/0.002452, allocations: 63.88 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.151e-05/0.002483, allocations: 18.52 kB / 0.8397 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-06/0.002492, allocations: 4.859 kB / 0.8397 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.002501, allocations: 4.094 kB / 0.8397 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.00252, allocations: 30.56 kB / 0.8397 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.00252, allocations: 0 / 0.8397 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.579e-05/0.002596, allocations: 37.78 kB / 0.8398 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.002624, allocations: 55.34 kB / 0.8398 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.002674, allocations: 106.7 kB / 0.8399 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.002682, allocations: 25.7 kB / 0.8399 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.002702, allocations: 88.12 kB / 0.84 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.002719, allocations: 7.953 kB / 0.84 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.002738, allocations: 17.66 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.0028, allocations: 318.8 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-06/0.002806, allocations: 2.828 kB / 0.8404 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.002818, allocations: 13.72 kB / 0.8404 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.002843, allocations: 24.62 kB / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.002844, allocations: 256 / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.544e-05/0.00288, allocations: 40.47 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.00289, allocations: 14.17 kB / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.002895, allocations: 4 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.002905, allocations: 0 / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.002959, allocations: 4 kB / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.002962, allocations: 0 / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.002972, allocations: 0 / 0.8405 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.002976, allocations: 4.062 kB / 0.8405 GB, free: 12.12 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 0.0001716/0.003148, allocations: 124.5 kB / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-06/0.003152, allocations: 0 / 0.8406 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.003205, allocations: 41.16 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.003206, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.003207, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.00321, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.232e-05/0.003262, allocations: 77.75 kB / 0.8407 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.003263, allocations: 0 / 0.8407 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.003286, allocations: 4 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.003288, allocations: 4.031 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.003295, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003295, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003296, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.003363, allocations: 78.66 kB / 0.8408 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.003377, allocations: 7.984 kB / 0.8408 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.284e-06/0.003384, allocations: 0 / 0.8408 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.003392, allocations: 3.984 kB / 0.8408 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-06/0.003401, allocations: 0 / 0.8408 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.003403, allocations: 4 kB / 0.8408 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.094e-05/0.003414, allocations: 12.92 kB / 0.8408 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003414, allocations: 0 / 0.8408 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.728e-05/0.003502, allocations: 4 kB / 0.8408 GB, free: 11.71 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.072e-05/0.003562, allocations: 80.34 kB / 0.8409 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.088e-05/0.003603, allocations: 16.8 kB / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.003605, allocations: 0 / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.003613, allocations: 8.859 kB / 0.8409 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.051e-05/0.003663, allocations: 7.938 kB / 0.8409 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.003834, allocations: 123.6 kB / 0.841 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.003862, allocations: 59.34 kB / 0.8411 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.003877, allocations: 3.953 kB / 0.8411 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.003906, allocations: 51.38 kB / 0.8411 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of SimCode: time 4.3e-07/0.003907, allocations: 0 / 0.8411 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of Templates: time 0.001461/0.005368, allocations: 369.8 kB / 0.8415 GB, free: 10.94 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 -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.154527184087783]