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.0009532/0.0009532, 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.0009828/0.0009828, 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 0.9751/0.9751, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.863/1.863, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.713e-06/1.713e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.4e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001162/0.001186, allocations: 0.555 MB / 0.7605 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001045/0.001291, allocations: 20.56 kB / 0.7606 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.001317, allocations: 4.531 kB / 0.7606 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.00133, allocations: 0 / 0.7606 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.00145, allocations: 5.297 kB / 0.7606 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.294e-06/0.001452, allocations: 0.7188 kB / 0.7606 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.365e-05/0.001496, allocations: 6.078 kB / 0.7606 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.001531, allocations: 1 kB / 0.7606 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.001584, allocations: 8.859 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.001619, allocations: 0.9844 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.001633, allocations: 1.094 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.001639, allocations: 0 / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.00165, allocations: 1.531 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.007e-06/0.001659, allocations: 1.031 kB / 0.7606 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.136e-05/0.0017, allocations: 4 kB / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.001702, allocations: 1.906 kB / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.31e-07/0.001702, allocations: 0 / 0.7606 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.001705, allocations: 0 / 0.7606 GB, free: 6.074 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.0001773/0.001883, allocations: 226.3 kB / 0.7608 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.001914, allocations: 12.03 kB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.001933, allocations: 0.9375 kB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.849e-05/0.001991, allocations: 101.8 kB / 0.7609 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.002001, allocations: 5.25 kB / 0.7609 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.002009, allocations: 0.9219 kB / 0.7609 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.525e-05/0.002075, allocations: 45.22 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.00208, allocations: 192 / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.002085, allocations: 384 / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.00209, allocations: 384 / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.179e-05/0.002101, allocations: 14.11 kB / 0.761 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.699e-05/0.002168, allocations: 65.94 kB / 0.761 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/0.002206, allocations: 34.5 kB / 0.7611 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.002218, allocations: 13.66 kB / 0.7611 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.002232, allocations: 3.984 kB / 0.7611 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.00225, allocations: 35.66 kB / 0.7611 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.002251, allocations: 0 / 0.7611 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.032e-05/0.002331, allocations: 42.17 kB / 0.7612 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.002367, allocations: 78.64 kB / 0.7612 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.002414, allocations: 107.6 kB / 0.7613 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-06/0.002422, allocations: 25.7 kB / 0.7614 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.002441, allocations: 81.36 kB / 0.7614 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.002464, allocations: 4.297 kB / 0.7614 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.002486, allocations: 13.72 kB / 0.7615 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.002556, allocations: 316.3 kB / 0.7618 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-06/0.002562, allocations: 0 / 0.7618 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.002575, allocations: 17.72 kB / 0.7618 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.002601, allocations: 23.77 kB / 0.7618 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.002604, allocations: 4 kB / 0.7618 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.889e-05/0.002642, allocations: 34.39 kB / 0.7618 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.002653, allocations: 8.719 kB / 0.7618 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.002657, allocations: 0 / 0.7618 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.002669, allocations: 5.453 kB / 0.7618 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.002721, allocations: 4 kB / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.002723, allocations: 0 / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.002734, allocations: 0.6562 kB / 0.7619 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.00274, allocations: 6.438 kB / 0.7619 GB, free: 4.598 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 5.012e-05/0.00279, allocations: 113.8 kB / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-06/0.002795, allocations: 0 / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/0.002867, allocations: 48.62 kB / 0.762 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.002869, allocations: 2.5 kB / 0.762 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00287, allocations: 0.9844 kB / 0.762 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.002873, allocations: 4 kB / 0.762 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.984e-05/0.002922, allocations: 69.83 kB / 0.7621 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.002925, allocations: 4 kB / 0.7621 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.002937, allocations: 0 / 0.7621 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.002939, allocations: 4 kB / 0.7621 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.002943, allocations: 1.031 kB / 0.7621 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.002943, allocations: 0 / 0.7621 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.002944, allocations: 0 / 0.7621 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.114e-05/0.002995, allocations: 71.45 kB / 0.7622 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.003017, allocations: 6.906 kB / 0.7622 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-06/0.003024, allocations: 4 kB / 0.7622 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-06/0.003031, allocations: 0 / 0.7622 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.003041, allocations: 4 kB / 0.7622 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.003044, allocations: 3.984 kB / 0.7622 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.705e-06/0.003052, allocations: 6.172 kB / 0.7622 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003052, allocations: 0 / 0.7622 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.422e-05/0.003146, allocations: 4 kB / 0.7622 GB, free: 4.207 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 6.798e-05/0.003214, allocations: 75.45 kB / 0.7623 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.778e-05/0.003262, allocations: 16.8 kB / 0.7623 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.003263, allocations: 0 / 0.7623 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.863e-06/0.00327, allocations: 8.859 kB / 0.7623 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.439e-05/0.003325, allocations: 19.8 kB / 0.7623 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001478/0.003472, allocations: 101.5 kB / 0.7624 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.353e-05/0.003496, allocations: 51.36 kB / 0.7625 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.003512, allocations: 1.094 kB / 0.7625 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.003539, allocations: 55.36 kB / 0.7625 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.00354, allocations: 1.641 kB / 0.7625 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.001373/0.004913, allocations: 235.3 kB / 0.7627 GB, free: 3.602 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 -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.831977812107652]