Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001467/0.001467, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001745/0.001745, allocations: 161 kB / 24.17 MB, free: 332 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 1.029/1.029, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.875 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.94e-05, allocations: 3.094 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002067/0.002096, allocations: 0.5999 MB / 0.7606 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.002251, allocations: 15.91 kB / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.002283, allocations: 0.5312 kB / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.002298, allocations: 0 / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.002448, allocations: 2.219 kB / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.002451, allocations: 0 / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.002514, allocations: 9.531 kB / 0.7607 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.002551, allocations: 0 / 0.7607 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.002616, allocations: 10.19 kB / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.002659, allocations: 0.5469 kB / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.002673, allocations: 1.531 kB / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.00268, allocations: 1.25 kB / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.002692, allocations: 0 / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.144e-05/0.002703, allocations: 0 / 0.7607 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.899e-05/0.002752, allocations: 12.8 kB / 0.7607 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.002755, allocations: 0.8125 kB / 0.7607 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002756, allocations: 0 / 0.7607 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.00276, allocations: 0.5938 kB / 0.7607 GB, free: 6.008 MB / 0.7136 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.0002311/0.002991, allocations: 213.5 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.003031, allocations: 13.02 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.003059, allocations: 1.688 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.00314, allocations: 105.8 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.003152, allocations: 1.188 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.00316, allocations: 4.375 kB / 0.761 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.219e-05/0.003243, allocations: 45.34 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.003251, allocations: 192 / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.003258, allocations: 384 / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.003264, allocations: 1.625 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.003283, allocations: 12.75 kB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.344e-05/0.003376, allocations: 65.89 kB / 0.7611 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.00343, allocations: 38.38 kB / 0.7612 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.003448, allocations: 13.72 kB / 0.7612 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.003471, allocations: 9.297 kB / 0.7612 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.003494, allocations: 30.56 kB / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.003496, allocations: 0 / 0.7612 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000112/0.003608, allocations: 38.33 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.003649, allocations: 80.73 kB / 0.7613 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.003709, allocations: 102.7 kB / 0.7614 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.00372, allocations: 25.7 kB / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.003746, allocations: 80.14 kB / 0.7615 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.003775, allocations: 8.297 kB / 0.7615 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.003807, allocations: 13.72 kB / 0.7615 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.003899, allocations: 314.8 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.003909, allocations: 6.969 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.003927, allocations: 18.3 kB / 0.7619 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.003963, allocations: 21.7 kB / 0.7619 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003965, allocations: 0 / 0.7619 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.266e-05/0.004028, allocations: 39.14 kB / 0.7619 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.004044, allocations: 11.98 kB / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.004049, allocations: 0 / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.004063, allocations: 0.9844 kB / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.004126, allocations: 4.656 kB / 0.7619 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.004129, allocations: 0 / 0.7619 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.004145, allocations: 1.969 kB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.004153, allocations: 4 kB / 0.762 GB, free: 4.535 MB / 0.7136 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.369e-05/0.004217, allocations: 113.8 kB / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.004228, allocations: 4 kB / 0.7621 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.004332, allocations: 43.06 kB / 0.7621 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.004337, allocations: 3.984 kB / 0.7621 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.00434, allocations: 4.656 kB / 0.7621 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.004344, allocations: 0 / 0.7621 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.216e-05/0.004416, allocations: 69.83 kB / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.004417, allocations: 2.281 kB / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.004453, allocations: 0 / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004455, allocations: 4 kB / 0.7622 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.004462, allocations: 4.984 kB / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.004464, allocations: 0 / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.004466, allocations: 0 / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.004548, allocations: 74.89 kB / 0.7623 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.004573, allocations: 0 / 0.7623 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.004582, allocations: 0 / 0.7623 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.0046, allocations: 4.938 kB / 0.7623 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.004615, allocations: 3.984 kB / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.004619, allocations: 2.281 kB / 0.7623 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.048e-05/0.004629, allocations: 6.172 kB / 0.7623 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.004629, allocations: 4 kB / 0.7623 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001672/0.004796, allocations: 0 / 0.7623 GB, free: 4.148 MB / 0.7136 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 0.0001041/0.004901, allocations: 85.59 kB / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.004965, allocations: 16.8 kB / 0.7624 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.004968, allocations: 0 / 0.7624 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.00498, allocations: 12.84 kB / 0.7624 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.179e-05/0.005052, allocations: 5.438 kB / 0.7624 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.00525, allocations: 101.6 kB / 0.7625 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.005281, allocations: 51.36 kB / 0.7625 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.005305, allocations: 5.797 kB / 0.7626 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.005341, allocations: 51.38 kB / 0.7626 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.005342, allocations: 1.203 kB / 0.7626 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of Templates: time 0.002038/0.00738, allocations: 227.8 kB / 0.7628 GB, free: 3.547 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.865905027836561]