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.0009802/0.0009802, allocations: 80.92 kB / 20.75 MB, free: 3.734 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.001238/0.001238, allocations: 165 kB / 24.17 MB, free: 324 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.9349/0.9349, 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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.363e-06/1.363e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.518e-05, allocations: 7.125 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001871/0.001897, allocations: 0.6038 MB / 0.7606 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000181/0.002078, allocations: 36.58 kB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.002127, allocations: 0 / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.002158, allocations: 5.094 kB / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.002297, allocations: 5.516 kB / 0.7607 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.609e-05/0.002353, allocations: 7.984 kB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.002416, allocations: 12.09 kB / 0.7607 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.002451, allocations: 4 kB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.002515, allocations: 12.8 kB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.002598, allocations: 9.531 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002614, allocations: 1.781 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.002622, allocations: 0 / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.002668, allocations: 12.86 kB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.002689, allocations: 4.875 kB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.524e-05/0.002755, allocations: 12.58 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.002757, allocations: 1.219 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.21e-07/0.002758, allocations: 0.9844 kB / 0.7607 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.002761, allocations: 0 / 0.7607 GB, free: 5.914 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.0002834/0.003045, allocations: 229.7 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.003081, allocations: 8.031 kB / 0.761 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.003107, allocations: 1.688 kB / 0.761 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.003235, allocations: 117.8 kB / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.003243, allocations: 1.594 kB / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.003256, allocations: 384 / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.381e-05/0.00332, allocations: 30.06 kB / 0.7611 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.003328, allocations: 0.8438 kB / 0.7611 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.003333, allocations: 4.375 kB / 0.7611 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.003338, allocations: 1.125 kB / 0.7611 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.162e-05/0.00335, allocations: 7.875 kB / 0.7611 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.146e-05/0.003431, allocations: 60.84 kB / 0.7612 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.00347, allocations: 22.55 kB / 0.7612 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.073e-05/0.00348, allocations: 6.672 kB / 0.7612 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.003491, allocations: 5.125 kB / 0.7612 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.003515, allocations: 34.56 kB / 0.7612 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.003516, allocations: 0 / 0.7612 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.079e-05/0.003607, allocations: 34.58 kB / 0.7613 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.003637, allocations: 51.41 kB / 0.7613 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.003713, allocations: 115.9 kB / 0.7614 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.003723, allocations: 25.7 kB / 0.7615 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.003752, allocations: 84.14 kB / 0.7615 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.003772, allocations: 6.703 kB / 0.7616 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.003805, allocations: 21.69 kB / 0.7616 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.003893, allocations: 314.8 kB / 0.7619 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.003903, allocations: 3.812 kB / 0.7619 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.00392, allocations: 17.72 kB / 0.7619 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.00396, allocations: 26.91 kB / 0.7619 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.003962, allocations: 0 / 0.7619 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.076e-05/0.004023, allocations: 40.47 kB / 0.762 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.004037, allocations: 8 kB / 0.762 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004041, allocations: 0 / 0.762 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.004054, allocations: 0.6562 kB / 0.762 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.004109, allocations: 7.984 kB / 0.762 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004112, allocations: 1.656 kB / 0.762 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.004129, allocations: 0 / 0.762 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.004141, allocations: 0 / 0.762 GB, free: 4.496 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.119e-05/0.004202, allocations: 117.5 kB / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-06/0.004209, allocations: 0 / 0.7621 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.004288, allocations: 45.66 kB / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.004291, allocations: 3.703 kB / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.004292, allocations: 0 / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.004295, allocations: 0 / 0.7621 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.742e-05/0.004373, allocations: 77.75 kB / 0.7622 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.004374, allocations: 3.938 kB / 0.7622 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.004414, allocations: 4 kB / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.004416, allocations: 2.438 kB / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.004423, allocations: 0 / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.004425, allocations: 0 / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.004426, allocations: 0 / 0.7622 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.298e-05/0.004519, allocations: 70.72 kB / 0.7623 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.004537, allocations: 8.828 kB / 0.7623 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.004549, allocations: 1.75 kB / 0.7623 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.004565, allocations: 7.984 kB / 0.7623 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.004575, allocations: 0 / 0.7623 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.004579, allocations: 4 kB / 0.7623 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.004598, allocations: 13.11 kB / 0.7623 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.004598, allocations: 1.375 kB / 0.7623 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001622/0.004761, allocations: 4 kB / 0.7623 GB, free: 4.086 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 9.511e-05/0.004856, allocations: 79.83 kB / 0.7624 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.498e-05/0.004921, allocations: 16.84 kB / 0.7624 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.004924, allocations: 0 / 0.7624 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.00494, allocations: 12.84 kB / 0.7624 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.041e-05/0.00503, allocations: 7.938 kB / 0.7624 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.005297, allocations: 117.8 kB / 0.7626 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.005339, allocations: 60.33 kB / 0.7626 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.005362, allocations: 0 / 0.7626 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.005408, allocations: 51.38 kB / 0.7627 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.005409, allocations: 0 / 0.7627 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of Templates: time 0.002701/0.00811, allocations: 372.8 kB / 0.763 GB, free: 3.34 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 -s gbode -gbm=radauIIA3 -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.6182393240742385]