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.001075/0.001075, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001062/0.001062, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9263/0.9263, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.028/2.028, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.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.513e-06/1.513e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.039e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001465/0.001485, allocations: 0.5548 MB / 0.8799 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.001606, allocations: 17.09 kB / 0.8799 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.001641, allocations: 8.594 kB / 0.8799 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.001658, allocations: 0 / 0.8799 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.001801, allocations: 1.906 kB / 0.8799 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.005e-06/0.001804, allocations: 0 / 0.8799 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.494e-05/0.001859, allocations: 6.688 kB / 0.8799 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.001897, allocations: 0 / 0.8799 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.001953, allocations: 7.922 kB / 0.88 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.482e-05/0.001988, allocations: 7.984 kB / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.002, allocations: 2.031 kB / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-06/0.002005, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.002016, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.066e-05/0.002027, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 4.265e-05/0.00207, allocations: 4 kB / 0.88 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002072, allocations: 2.5 kB / 0.88 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002073, allocations: 0 / 0.88 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.555e-06/0.002075, allocations: 0 / 0.88 GB, free: 5.453 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002513/0.002326, allocations: 344.7 kB / 0.8803 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.002361, allocations: 8.031 kB / 0.8803 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.002388, allocations: 16.77 kB / 0.8803 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.32e-05/0.002461, allocations: 104.6 kB / 0.8804 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.002472, allocations: 1.094 kB / 0.8804 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.002481, allocations: 10.02 kB / 0.8804 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.002558, allocations: 49.62 kB / 0.8805 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.002565, allocations: 192 / 0.8805 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.002571, allocations: 384 / 0.8805 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.002576, allocations: 0.875 kB / 0.8805 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.0026, allocations: 17.62 kB / 0.8805 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.002706, allocations: 100.9 kB / 0.8806 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.00276, allocations: 50.19 kB / 0.8806 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.00278, allocations: 23.44 kB / 0.8807 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.002796, allocations: 5.328 kB / 0.8807 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.002821, allocations: 37.39 kB / 0.8807 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.002821, allocations: 0 / 0.8807 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001146/0.002936, allocations: 43.23 kB / 0.8807 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.002974, allocations: 77.11 kB / 0.8808 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.003044, allocations: 153.9 kB / 0.881 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.003054, allocations: 26.08 kB / 0.881 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.003088, allocations: 134.9 kB / 0.8811 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.003113, allocations: 7.953 kB / 0.8811 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.003144, allocations: 19.38 kB / 0.8811 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.003277, allocations: 496.1 kB / 0.8816 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.003287, allocations: 0 / 0.8816 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.003307, allocations: 23.36 kB / 0.8816 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.00334, allocations: 27.3 kB / 0.8817 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.003342, allocations: 0 / 0.8817 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.305e-05/0.003405, allocations: 45.7 kB / 0.8817 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.003416, allocations: 4 kB / 0.8817 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.003422, allocations: 8 kB / 0.8817 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.003431, allocations: 0 / 0.8817 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.003484, allocations: 4 kB / 0.8817 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.003488, allocations: 3.984 kB / 0.8817 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.003509, allocations: 0 / 0.8817 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.003515, allocations: 3.938 kB / 0.8817 GB, free: 3.406 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.883e-05/0.003584, allocations: 156.6 kB / 0.8819 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.003594, allocations: 4 kB / 0.8819 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.003687, allocations: 52.62 kB / 0.8819 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003689, allocations: 0 / 0.8819 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.00369, allocations: 4 kB / 0.8819 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.003693, allocations: 0 / 0.8819 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.952e-05/0.003772, allocations: 93.2 kB / 0.882 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.003775, allocations: 4 kB / 0.882 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.0038, allocations: 0 / 0.882 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.003805, allocations: 7.984 kB / 0.882 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.003809, allocations: 64 / 0.882 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.003811, allocations: 4 kB / 0.882 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.003812, allocations: 0 / 0.882 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.003894, allocations: 88.02 kB / 0.8821 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.003918, allocations: 7.938 kB / 0.8821 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-06/0.003926, allocations: 0 / 0.8821 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.003941, allocations: 4 kB / 0.8821 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.003951, allocations: 0 / 0.8821 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.003954, allocations: 0 / 0.8821 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.003993, allocations: 123.2 kB / 0.8823 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.003993, allocations: 4.125 kB / 0.8823 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001951/0.004188, allocations: 0 / 0.8823 GB, free: 2.793 MB / 0.8386 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 8.124e-05/0.004269, allocations: 95.25 kB / 0.8824 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.004338, allocations: 23.61 kB / 0.8824 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004339, allocations: 0 / 0.8824 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.004352, allocations: 15.67 kB / 0.8824 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.004488, allocations: 3.938 kB / 0.8824 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/0.004651, allocations: 102.5 kB / 0.8825 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.004683, allocations: 59.36 kB / 0.8825 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.004703, allocations: 3.938 kB / 0.8826 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.004739, allocations: 70.2 kB / 0.8826 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.00474, allocations: 0 / 0.8826 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of Templates: time 0.001749/0.006489, allocations: 236.2 kB / 0.8828 GB, free: 2.129 MB / 0.8386 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.905660422053188]