Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000976/0.000976, allocations: 80.8 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.0009283/0.0009283, allocations: 161 kB / 24.16 MB, free: 336 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.9144/0.9144, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.829/1.829, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.171e-05, allocations: 5.406 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001495/0.001517, allocations: 0.5594 MB / 0.7605 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.001688, allocations: 44.78 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.001739, allocations: 0.6562 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.001771, allocations: 0 / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.001914, allocations: 5.375 kB / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.61e-05/0.00196, allocations: 6.047 kB / 0.7606 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.965e-05/0.00202, allocations: 17.83 kB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.002054, allocations: 4.906 kB / 0.7606 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.002111, allocations: 1.531 kB / 0.7606 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.002191, allocations: 12.8 kB / 0.7606 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.00221, allocations: 0 / 0.7606 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.002217, allocations: 0 / 0.7606 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.002264, allocations: 14.81 kB / 0.7606 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.002285, allocations: 4.984 kB / 0.7606 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.619e-05/0.002351, allocations: 16.78 kB / 0.7607 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.002353, allocations: 1.844 kB / 0.7607 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002353, allocations: 0 / 0.7607 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002356, allocations: 0 / 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002703/0.002627, allocations: 221 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.002661, allocations: 12.91 kB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.002683, allocations: 2.531 kB / 0.7609 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.002798, allocations: 113.7 kB / 0.761 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.002806, allocations: 8.375 kB / 0.761 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.002823, allocations: 384 / 0.761 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.002883, allocations: 33.67 kB / 0.761 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002889, allocations: 1.531 kB / 0.761 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-06/0.002895, allocations: 384 / 0.761 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.002901, allocations: 5.031 kB / 0.761 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-06/0.00291, allocations: 5.188 kB / 0.761 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.337e-05/0.002983, allocations: 59.88 kB / 0.7611 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.003021, allocations: 18.52 kB / 0.7611 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.076e-05/0.003032, allocations: 6.109 kB / 0.7611 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.003041, allocations: 0 / 0.7611 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.003063, allocations: 35.64 kB / 0.7612 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003064, allocations: 0 / 0.7612 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.172e-05/0.003156, allocations: 38.44 kB / 0.7612 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.003188, allocations: 55.88 kB / 0.7612 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.003259, allocations: 111.4 kB / 0.7614 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.00327, allocations: 25.7 kB / 0.7614 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.003299, allocations: 85.33 kB / 0.7615 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.003317, allocations: 3.953 kB / 0.7615 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.003345, allocations: 13.72 kB / 0.7615 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.003432, allocations: 323.4 kB / 0.7618 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.003441, allocations: 4.047 kB / 0.7618 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.003457, allocations: 13.72 kB / 0.7618 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.003489, allocations: 22.05 kB / 0.7618 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.003491, allocations: 0 / 0.7618 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.956e-05/0.00355, allocations: 49.19 kB / 0.7619 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.003561, allocations: 5.312 kB / 0.7619 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.003566, allocations: 4.75 kB / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.003579, allocations: 0.75 kB / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.003627, allocations: 4.25 kB / 0.7619 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.00363, allocations: 2.125 kB / 0.7619 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.003648, allocations: 4 kB / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.003653, allocations: 0 / 0.7619 GB, free: 4.594 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.032e-05/0.003713, allocations: 124.5 kB / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.00372, allocations: 0 / 0.762 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.00379, allocations: 48.28 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.003792, allocations: 0 / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.003794, allocations: 0 / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.003796, allocations: 0.9844 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.027e-05/0.003867, allocations: 73.77 kB / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.003867, allocations: 0 / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.003902, allocations: 4 kB / 0.7621 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.003905, allocations: 3.984 kB / 0.7621 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.003913, allocations: 0 / 0.7621 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.003914, allocations: 1.719 kB / 0.7621 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.003915, allocations: 0 / 0.7621 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.836e-05/0.004003, allocations: 74.66 kB / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.004021, allocations: 11.86 kB / 0.7622 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.00403, allocations: 0 / 0.7622 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.004042, allocations: 0 / 0.7622 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.004053, allocations: 4 kB / 0.7622 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.004056, allocations: 0 / 0.7622 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.854e-05/0.004074, allocations: 16.84 kB / 0.7622 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.004074, allocations: 0.875 kB / 0.7622 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001733/0.004247, allocations: 0 / 0.7622 GB, free: 4.184 MB / 0.7136 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 7.244e-05/0.00432, allocations: 79.42 kB / 0.7623 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.91e-05/0.004369, allocations: 12.8 kB / 0.7623 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.004373, allocations: 4 kB / 0.7623 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.004385, allocations: 8.844 kB / 0.7623 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.224e-05/0.004447, allocations: 11.94 kB / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.00465, allocations: 119.6 kB / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.004681, allocations: 60 kB / 0.7625 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.429e-05/0.004696, allocations: 0 / 0.7625 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.004735, allocations: 51.38 kB / 0.7626 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.004735, allocations: 1.281 kB / 0.7626 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of Templates: time 0.001953/0.006689, allocations: 368.6 kB / 0.7629 GB, free: 3.438 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.823452780023217]