Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.0009975/0.0009975, 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.001144/0.001144, 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.102/1.102, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.984/1.984, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.821e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00129/0.001308, allocations: 0.7665 MB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.002139, allocations: 0.8484 MB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.002171, allocations: 1.125 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.002196, allocations: 3.938 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.002262, allocations: 15.89 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.889e-05/0.002321, allocations: 11.98 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.002392, allocations: 44.17 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.002463, allocations: 12.92 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.002539, allocations: 21.19 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.002574, allocations: 14.05 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.002589, allocations: 5.125 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.002596, allocations: 4.766 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.002611, allocations: 8.859 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.002628, allocations: 10.45 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.976e-05/0.002698, allocations: 42.28 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.0027, allocations: 0 / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002701, allocations: 1.219 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002704, allocations: 0 / 0.7619 GB, free: 4.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002702/0.002974, allocations: 249.5 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.003003, allocations: 11.97 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.003024, allocations: 6.406 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.336e-05/0.003097, allocations: 113.7 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.003107, allocations: 384 / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.003114, allocations: 4.375 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.939e-05/0.003214, allocations: 63.53 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.003223, allocations: 8.906 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.003234, allocations: 384 / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.003238, allocations: 1.125 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.003259, allocations: 11.94 kB / 0.7623 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.003463, allocations: 162 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.873e-05/0.003512, allocations: 22.58 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.003526, allocations: 4.859 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.003535, allocations: 5.344 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.003555, allocations: 30.56 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 6.11e-07/0.003556, allocations: 0 / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001055/0.003661, allocations: 53.72 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.003689, allocations: 52.66 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.003747, allocations: 110.7 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.003757, allocations: 25.7 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.003786, allocations: 93.33 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.003803, allocations: 7.938 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.003826, allocations: 17.72 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.003899, allocations: 314.8 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.003911, allocations: 7.234 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.003922, allocations: 4 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.274e-05/0.003945, allocations: 12.86 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.003946, allocations: 0 / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.555e-05/0.003992, allocations: 41.62 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.004002, allocations: 8 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004005, allocations: 0 / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.004017, allocations: 3.938 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.004073, allocations: 15.02 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.004075, allocations: 0 / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.004096, allocations: 7.984 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.0041, allocations: 3.938 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 4.864e-05/0.004149, allocations: 117.8 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.004168, allocations: 4 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.004184, allocations: 8 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.004187, allocations: 5.438 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.004188, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.00419, allocations: 0 / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.579e-05/0.004266, allocations: 69.89 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.004267, allocations: 0.6562 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.004295, allocations: 15.92 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004296, allocations: 1.641 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.0043, allocations: 4 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.0043, allocations: 0 / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004301, allocations: 2.438 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.004368, allocations: 139.5 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.004376, allocations: 11.94 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-06/0.004383, allocations: 0 / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.004419, allocations: 7.984 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.004445, allocations: 7.984 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.00445, allocations: 10.88 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.124e-05/0.004461, allocations: 8.859 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004461, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000111/0.004572, allocations: 8 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.999e-05/0.004632, allocations: 76.36 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.296e-05/0.004685, allocations: 16.84 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.004688, allocations: 4 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.004705, allocations: 9.484 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.004835, allocations: 20.16 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.005036, allocations: 134.2 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.005065, allocations: 59.28 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.005085, allocations: 6.438 kB / 0.764 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.005134, allocations: 59.3 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.005134, allocations: 0 / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of Templates: time 0.001893/0.007028, allocations: 0.6779 MB / 0.7647 GB, free: 1.625 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.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: 5.209850713144988]