Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001175, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009174/0.009175, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 14.25 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001058/0.3984, allocations: 438.6 kB / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.3994, allocations: 0.804 MB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.3994, allocations: 0 / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.3995, allocations: 0 / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.3996, allocations: 3.938 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.491e-05/0.3996, allocations: 11.98 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.674e-05/0.3997, allocations: 43.86 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3999, allocations: 16 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.3999, allocations: 11.92 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.4, allocations: 23.84 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.4, allocations: 4 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.4, allocations: 0 / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.4001, allocations: 11.98 kB / 1.075 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.4001, allocations: 37.62 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.043e-05/0.4002, allocations: 39.81 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4002, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4002, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4002, allocations: 4 kB / 1.076 GB, free: 6.07 MB / 0.8262 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.0005628/0.4008, allocations: 367.7 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4009, allocations: 12.03 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.4009, allocations: 0.9375 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4011, allocations: 176.2 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4011, allocations: 4.375 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.4011, allocations: 384 / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.4014, allocations: 78.22 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4014, allocations: 192 / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4014, allocations: 3.938 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.4014, allocations: 15.92 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.4018, allocations: 83.92 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.4022, allocations: 269 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.4025, allocations: 74.47 kB / 1.077 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4026, allocations: 44.92 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.4027, allocations: 0 / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.4027, allocations: 38.5 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4027, allocations: 0 / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006254/0.4033, allocations: 165.5 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.4034, allocations: 51.41 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4035, allocations: 105.8 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4035, allocations: 33.7 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.4036, allocations: 84.14 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.4036, allocations: 15.8 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.4036, allocations: 13.72 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4038, allocations: 310.8 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4039, allocations: 43.97 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.4041, allocations: 43.89 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.4044, allocations: 92.78 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4045, allocations: 3.938 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003481/0.4048, allocations: 117.6 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4048, allocations: 11.94 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4048, allocations: 0 / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4049, allocations: 0 / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.405, allocations: 19.98 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.405, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.4051, allocations: 23.97 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4051, allocations: 4 kB / 1.078 GB, free: 3.582 MB / 0.8262 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 9.569e-05/0.4052, allocations: 117.7 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.4053, allocations: 3.906 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.4053, allocations: 11.91 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4055, allocations: 173.6 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4055, allocations: 0 / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.4056, allocations: 27.92 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4057, allocations: 4 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4057, allocations: 0 / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.4061, allocations: 219.7 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.4062, allocations: 88.95 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4062, allocations: 4.047 kB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4063, allocations: 23.91 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.4064, allocations: 3.984 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.4064, allocations: 4 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.818e-05/0.4064, allocations: 83.28 kB / 1.078 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4065, allocations: 0 / 1.078 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002168/0.4067, allocations: 8 kB / 1.079 GB, free: 2.723 MB / 0.8262 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.0001555/0.4068, allocations: 99.25 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.4072, allocations: 91.92 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4072, allocations: 0 / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.4074, allocations: 47.95 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.4077, allocations: 15.88 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.4081, allocations: 136.6 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.4084, allocations: 0.6848 MB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.4084, allocations: 7.859 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.4085, allocations: 7.438 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4085, allocations: 0 / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.002886/0.4114, allocations: 0.5458 MB / 1.08 GB, free: 1.039 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1)