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.001384/0.001384, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001795, allocations: 64.73 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4196, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002325/0.4219, allocations: 0.6971 MB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.4229, allocations: 0.81 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.423, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.423, allocations: 7.922 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.4231, allocations: 7.922 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.638e-05/0.4232, allocations: 11.98 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.971e-05/0.4233, allocations: 47.86 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.4235, allocations: 11.98 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.4235, allocations: 15.98 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.4236, allocations: 19.86 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4236, allocations: 7.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.963e-05/0.4237, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.4238, allocations: 7.984 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.4238, allocations: 19.88 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.4239, allocations: 43.86 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4239, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4239, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.4239, allocations: 0 / 1.07 GB, free: 8.719 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.0007224/0.4247, allocations: 359.7 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4247, allocations: 12.03 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.4248, allocations: 4.844 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4249, allocations: 176.3 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.425, allocations: 4.375 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.425, allocations: 4.375 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.4253, allocations: 70.2 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.4253, allocations: 192 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.4253, allocations: 3.938 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4253, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.4256, allocations: 67.88 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.4261, allocations: 268.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4263, allocations: 54.47 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4265, allocations: 44.86 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.4265, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4266, allocations: 42.48 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4266, allocations: 0 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006536/0.4272, allocations: 125.6 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4273, allocations: 55.41 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.4274, allocations: 105.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-05/0.4275, allocations: 25.7 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.4275, allocations: 96.03 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4276, allocations: 3.906 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.4276, allocations: 17.72 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4278, allocations: 314.8 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.428, allocations: 35.95 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4282, allocations: 31.97 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.4285, allocations: 68.72 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4285, allocations: 11.88 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003266/0.4288, allocations: 93.62 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4288, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4289, allocations: 4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4289, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.429, allocations: 15.97 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.429, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.4291, allocations: 11.98 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.4291, allocations: 4 kB / 1.072 GB, free: 6.395 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 8.935e-05/0.4292, allocations: 113.8 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.4293, allocations: 7.844 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.4293, allocations: 11.91 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4293, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4293, allocations: 336 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4293, allocations: 7.984 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.4295, allocations: 169.6 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4295, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.427e-05/0.4296, allocations: 15.98 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4296, allocations: 3.984 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4296, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4297, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4297, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.43, allocations: 195.4 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.4301, allocations: 88.95 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4301, allocations: 4 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4303, allocations: 11.98 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.4303, allocations: 3.984 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4303, allocations: 7.875 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.4304, allocations: 91.28 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4304, allocations: 0 / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002131/0.4306, allocations: 4 kB / 1.073 GB, free: 5.57 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.0002209/0.4308, allocations: 103.8 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.4312, allocations: 71.92 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4312, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.4313, allocations: 35.97 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.4317, allocations: 18.27 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.4321, allocations: 146.9 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.4325, allocations: 0.6768 MB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.4325, allocations: 4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.4325, allocations: 7.438 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4325, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of Templates: time 0.003345/0.4359, allocations: 0.6794 MB / 1.074 GB, free: 3.785 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)