Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001216/0.001216, allocations: 198.6 kB / 16.14 MB, free: 6.656 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 69.89 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4047, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00249/0.4073, allocations: 0.7555 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.4084, allocations: 0.8079 MB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.4085, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.4085, allocations: 8 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.4086, allocations: 3.938 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.186e-05/0.4087, allocations: 7.984 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.4088, allocations: 39.86 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.409, allocations: 19.97 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.4091, allocations: 11.94 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.4091, allocations: 23.84 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4091, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.4092, allocations: 8 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.4092, allocations: 4 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.4092, allocations: 19.86 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.4093, allocations: 35.88 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.4094, allocations: 7.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.4094, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4094, allocations: 0 / 1.069 GB, free: 9.141 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.0007275/0.4101, allocations: 359.7 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4102, allocations: 12.03 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.4102, allocations: 8.844 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.4104, allocations: 168.3 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.4104, allocations: 8.375 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.4104, allocations: 384 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.4107, allocations: 70.19 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.4107, allocations: 192 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.4108, allocations: 7.938 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4108, allocations: 11.94 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.4111, allocations: 55.94 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.4116, allocations: 264.9 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.4119, allocations: 66.47 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.412, allocations: 32.92 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.412, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4121, allocations: 38.5 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4121, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005378/0.4126, allocations: 129.6 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4127, allocations: 55.41 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4128, allocations: 109.8 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.4128, allocations: 25.7 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.4129, allocations: 92.05 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4129, allocations: 11.89 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.4129, allocations: 13.72 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4131, allocations: 314.8 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4132, allocations: 35.95 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.4134, allocations: 31.91 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.4136, allocations: 72.78 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4136, allocations: 7.875 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002851/0.4139, allocations: 93.62 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.414, allocations: 4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.414, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.414, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4141, allocations: 19.97 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4141, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.4142, allocations: 7.984 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4142, allocations: 4 kB / 1.071 GB, free: 6.82 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.228e-05/0.4143, allocations: 117.7 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.4144, allocations: 11.91 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.4144, allocations: 11.84 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4144, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4144, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4144, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.4146, allocations: 173.6 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4146, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.4147, allocations: 15.98 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4147, allocations: 336 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4147, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4147, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4147, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.4151, allocations: 199.4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.4152, allocations: 84.95 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.4152, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4153, allocations: 23.92 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.4153, allocations: 3.984 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.4154, allocations: 4 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.4154, allocations: 83.28 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4154, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002116/0.4156, allocations: 8 kB / 1.072 GB, free: 5.988 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.0001608/0.4158, allocations: 99.23 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.4161, allocations: 71.92 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4161, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4163, allocations: 31.97 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.4167, allocations: 23.8 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.4171, allocations: 131.2 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4175, allocations: 0.6809 MB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.4175, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.4176, allocations: 7.438 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.4176, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.003128/0.4207, allocations: 0.5513 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1)