Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.0009167/0.0009167, allocations: 80.81 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.0009619/0.0009619, allocations: 173 kB / 23.36 MB, free: 1.129 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.952/0.952, allocations: 177.2 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.262/2.262, allocations: 438.8 MB / 0.6826 GB, free: 13.58 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.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.641e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001814/0.001841, allocations: 0.5363 MB / 0.8391 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.001987, allocations: 19.91 kB / 0.8391 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.002015, allocations: 4 kB / 0.8391 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.002029, allocations: 0 / 0.8391 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.002177, allocations: 7.938 kB / 0.8391 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.00218, allocations: 0 / 0.8391 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.299e-05/0.002233, allocations: 4 kB / 0.8391 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.002269, allocations: 7.969 kB / 0.8391 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.002332, allocations: 4 kB / 0.8391 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.002378, allocations: 7.938 kB / 0.8391 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.002397, allocations: 0 / 0.8391 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.002407, allocations: 0 / 0.8391 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.00242, allocations: 4 kB / 0.8391 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.192e-05/0.002432, allocations: 0 / 0.8391 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.015e-05/0.002482, allocations: 4 kB / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002484, allocations: 3.938 kB / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002485, allocations: 0 / 0.8391 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.002489, allocations: 0 / 0.8391 GB, free: 13.62 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002234/0.002713, allocations: 217 kB / 0.8393 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.002752, allocations: 12.62 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.002777, allocations: 0.9375 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.002883, allocations: 105.8 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.002894, allocations: 4.375 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.002904, allocations: 4.375 kB / 0.8395 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.002987, allocations: 47.97 kB / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.002996, allocations: 192 / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.003002, allocations: 384 / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.003008, allocations: 384 / 0.8395 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.763e-05/0.003025, allocations: 11.88 kB / 0.8395 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.389e-05/0.003109, allocations: 61.94 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.00316, allocations: 37.19 kB / 0.8396 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.00318, allocations: 17.7 kB / 0.8396 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.003199, allocations: 7.938 kB / 0.8396 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.003225, allocations: 38.62 kB / 0.8397 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.003227, allocations: 0 / 0.8397 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001139/0.00334, allocations: 37.64 kB / 0.8397 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.003384, allocations: 81.09 kB / 0.8398 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.71e-05/0.003441, allocations: 98.72 kB / 0.8399 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.003453, allocations: 25.7 kB / 0.8399 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.003476, allocations: 80.14 kB / 0.84 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.003501, allocations: 8.312 kB / 0.84 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.003531, allocations: 21.72 kB / 0.84 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.003684, allocations: 314.8 kB / 0.8403 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.003692, allocations: 0 / 0.8403 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.00371, allocations: 17.7 kB / 0.8403 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.003745, allocations: 17.66 kB / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.003748, allocations: 0 / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.989e-05/0.003808, allocations: 37.64 kB / 0.8404 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.003824, allocations: 11.98 kB / 0.8404 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.003829, allocations: 4.125 kB / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.003842, allocations: 0 / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.003907, allocations: 4 kB / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.00391, allocations: 0 / 0.8404 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.003927, allocations: 4 kB / 0.8404 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.003932, allocations: 0 / 0.8404 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 6.002e-05/0.003992, allocations: 113.8 kB / 0.8405 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.004003, allocations: 4 kB / 0.8405 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.004103, allocations: 52.64 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.004105, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.004107, allocations: 0 / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.004111, allocations: 4 kB / 0.8406 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.724e-05/0.004178, allocations: 69.81 kB / 0.8406 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.00418, allocations: 0 / 0.8406 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.004204, allocations: 4 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.004207, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.004212, allocations: 4 kB / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.004214, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.004216, allocations: 0 / 0.8407 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.473e-05/0.004291, allocations: 81.83 kB / 0.8407 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.004314, allocations: 4 kB / 0.8407 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.004322, allocations: 0 / 0.8407 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.294e-05/0.004335, allocations: 0 / 0.8407 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.004349, allocations: 7.984 kB / 0.8407 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004352, allocations: 0 / 0.8407 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.041e-05/0.004362, allocations: 4.859 kB / 0.8407 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.004362, allocations: 0 / 0.8407 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00017/0.004532, 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: 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 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 9.66e-05/0.004629, allocations: 76.55 kB / 0.8408 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.987e-05/0.004689, allocations: 16.8 kB / 0.8408 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.004693, allocations: 4 kB / 0.8408 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.004703, allocations: 8.844 kB / 0.8409 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.853e-05/0.004772, allocations: 11.88 kB / 0.8409 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.004954, allocations: 93.58 kB / 0.841 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.004991, allocations: 63.34 kB / 0.841 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.005012, allocations: 4.25 kB / 0.841 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.005046, allocations: 47.38 kB / 0.8411 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.005047, allocations: 0 / 0.8411 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of Templates: time 0.00191/0.006957, allocations: 241 kB / 0.8413 GB, free: 11.1 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.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.990692392922938]