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.0009641/0.0009641, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008966/0.0008966, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.656 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 1.995/1.995, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.483e-06/1.483e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.654e-05, allocations: 9.594 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001159/0.001185, allocations: 0.5505 MB / 0.8787 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001671/0.001353, allocations: 40.36 kB / 0.8787 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.001405, allocations: 0 / 0.8787 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.001444, allocations: 3.984 kB / 0.8788 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.001603, allocations: 8.812 kB / 0.8788 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.259e-05/0.001656, allocations: 6.312 kB / 0.8788 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.743e-05/0.001723, allocations: 17.73 kB / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.001768, allocations: 0 / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.001833, allocations: 9.078 kB / 0.8788 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.001912, allocations: 7.984 kB / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.001936, allocations: 0 / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.001945, allocations: 0.6562 kB / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.002002, allocations: 5.594 kB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.002031, allocations: 4 kB / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.303e-05/0.002114, allocations: 23.84 kB / 0.8788 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.002116, allocations: 0 / 0.8788 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.002118, allocations: 2.312 kB / 0.8788 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002122, allocations: 0 / 0.8788 GB, free: 6.008 MB / 0.8386 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.0003592/0.002482, allocations: 356.6 kB / 0.8792 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.002521, allocations: 8.031 kB / 0.8792 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.002558, allocations: 12.89 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.002694, allocations: 112.6 kB / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.002703, allocations: 2.594 kB / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.00272, allocations: 384 / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.568e-05/0.002785, allocations: 34.25 kB / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.002791, allocations: 192 / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.002799, allocations: 384 / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.002806, allocations: 384 / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-06/0.002816, allocations: 4.656 kB / 0.8793 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.002929, allocations: 112.6 kB / 0.8794 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.774e-05/0.002967, allocations: 36.33 kB / 0.8795 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.002982, allocations: 7.688 kB / 0.8795 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.002993, allocations: 0 / 0.8795 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.003017, allocations: 45.45 kB / 0.8795 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.003018, allocations: 0 / 0.8795 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.003138, allocations: 37.64 kB / 0.8796 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.003168, allocations: 51.41 kB / 0.8796 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.003256, allocations: 177.9 kB / 0.8798 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.003266, allocations: 29.64 kB / 0.8798 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.003312, allocations: 134.9 kB / 0.8799 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.003335, allocations: 0 / 0.8799 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.003362, allocations: 19.38 kB / 0.88 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.003472, allocations: 496.1 kB / 0.8804 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.00349, allocations: 12.06 kB / 0.8804 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.003508, allocations: 15.38 kB / 0.8805 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.003543, allocations: 23.36 kB / 0.8805 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.003545, allocations: 0 / 0.8805 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.352e-05/0.003599, allocations: 49.59 kB / 0.8805 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.003612, allocations: 4 kB / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.003616, allocations: 0 / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.00363, allocations: 128 / 0.8805 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.003695, allocations: 11.98 kB / 0.8805 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.003701, allocations: 3.984 kB / 0.8806 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.003716, allocations: 7.938 kB / 0.8806 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.003721, allocations: 0 / 0.8806 GB, free: 4.023 MB / 0.8386 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.026e-05/0.003781, allocations: 156.6 kB / 0.8807 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.003787, allocations: 3.938 kB / 0.8807 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.819e-05/0.003865, allocations: 45.16 kB / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.003867, allocations: 0 / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.003871, allocations: 0 / 0.8808 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.003875, allocations: 3.969 kB / 0.8808 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.405e-05/0.003949, allocations: 124.6 kB / 0.8809 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00395, allocations: 0 / 0.8809 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.003992, allocations: 4 kB / 0.8809 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.003994, allocations: 0 / 0.8809 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.004008, allocations: 0 / 0.8809 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.00401, allocations: 4 kB / 0.8809 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.004011, allocations: 0 / 0.8809 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.004122, allocations: 89.02 kB / 0.881 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.004145, allocations: 0 / 0.881 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.004157, allocations: 7.984 kB / 0.881 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.004167, allocations: 4.062 kB / 0.881 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.004184, allocations: 0 / 0.881 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.004187, allocations: 256 / 0.881 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.00423, allocations: 139.2 kB / 0.8811 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00423, allocations: 0 / 0.8811 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001213/0.004352, allocations: 7.938 kB / 0.8811 GB, free: 3.375 MB / 0.8386 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 8.379e-05/0.004436, allocations: 91.25 kB / 0.8812 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.004519, allocations: 15.62 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.004521, allocations: 8.062 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.004534, allocations: 15.69 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.004648, allocations: 0 / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.004917, allocations: 114.4 kB / 0.8814 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.131e-05/0.004948, allocations: 55.36 kB / 0.8814 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.004967, allocations: 4 kB / 0.8814 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.00499, allocations: 8.5 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of SimCode: time 9.82e-07/0.004991, allocations: 0 / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of Templates: time 0.001976/0.006967, allocations: 356 kB / 0.8818 GB, free: 2.66 MB / 0.8386 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.1895202291198075]