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.00103/0.00103, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009952/0.0009952, allocations: 169 kB / 24.28 MB, free: 284 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.9762/0.9762, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.955/1.955, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.306e-06/3.306e-06, allocations: 0 / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.599e-05/3.929e-05, allocations: 7.984 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002206/0.002246, allocations: 0.7178 MB / 0.8123 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.003421, allocations: 0.8437 MB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.003474, allocations: 7.938 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.003506, allocations: 5.188 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.003586, allocations: 0 / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.978e-05/0.003666, allocations: 11.98 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003767, allocations: 50.28 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.003882, allocations: 11.98 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.003984, allocations: 23.92 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.004029, allocations: 15.97 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.004061, allocations: 4 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.004072, allocations: 4 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.004093, allocations: 9.438 kB / 0.8133 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.004123, allocations: 11.98 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.00422, allocations: 31.83 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004223, allocations: 0 / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004224, allocations: 4.656 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004228, allocations: 3.938 kB / 0.8133 GB, free: 272 kB / 0.7605 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.0004919/0.00472, allocations: 377.1 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.004768, allocations: 9.406 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.004817, allocations: 8.891 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.004932, allocations: 112.6 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.004945, allocations: 1.531 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.004958, allocations: 4.375 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.005145, allocations: 66.92 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.005153, allocations: 1.125 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.005166, allocations: 4.375 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.005175, allocations: 1.281 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.005222, allocations: 11.88 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.005589, allocations: 264.8 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.005681, allocations: 35.03 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.005716, allocations: 17.16 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.005726, allocations: 0 / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.005755, allocations: 41.33 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.005757, allocations: 0 / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001985/0.005955, allocations: 50.22 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.005992, allocations: 53.34 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.006095, allocations: 165.9 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.006108, allocations: 25.7 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.006166, allocations: 138.8 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.006186, allocations: 3.953 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.006223, allocations: 23.36 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.006366, allocations: 497.7 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.00639, allocations: 4 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.03e-05/0.006411, allocations: 7.938 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.006464, allocations: 19.67 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006466, allocations: 1 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.7e-05/0.006553, allocations: 41.66 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.006572, allocations: 8.469 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006577, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.006591, allocations: 0.5312 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.00669, allocations: 17.02 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.006696, allocations: 320 / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.006734, allocations: 12.77 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.00674, allocations: 4 kB / 0.8152 GB, free: 14.08 MB / 0.7761 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 8.607e-05/0.006827, allocations: 157.4 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.006853, allocations: 4 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.006881, allocations: 13.22 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006883, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.006887, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.00689, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.007028, allocations: 125.5 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.007031, allocations: 4 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.007089, allocations: 12.89 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007091, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007099, allocations: 1.531 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.007105, allocations: 7.922 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007107, allocations: 4 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.00726, allocations: 191.9 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.007268, allocations: 1.219 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.00728, allocations: 3.938 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.007361, allocations: 20.3 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.007404, allocations: 3.125 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.007408, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.007462, allocations: 135.2 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.007462, allocations: 0 / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002492/0.007711, allocations: 4 kB / 0.8159 GB, free: 13.35 MB / 0.7761 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 0.0001038/0.007815, allocations: 98.06 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.007925, allocations: 23.66 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007926, allocations: 1.062 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.007961, allocations: 19.62 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.008243, allocations: 17.05 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.008584, allocations: 135.4 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.008631, allocations: 59.34 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.008666, allocations: 1.656 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.008702, allocations: 8.5 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.008702, allocations: 0 / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.003149/0.01185, allocations: 0.7449 MB / 0.817 GB, free: 12.22 MB / 0.7761 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 -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.204987687058747]