Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, 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.009441/0.009441, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 252 MB / 0.5105 GB, free: 4.633 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008022/0.0008021, allocations: 16 kB / 0.6249 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.6232, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001738/0.625, allocations: 1.145 MB / 0.7299 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.6253, allocations: 116.5 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.6254, allocations: 0 / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.6254, allocations: 3.938 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.6255, allocations: 3.984 kB / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.81e-05/0.6256, allocations: 8 kB / 0.73 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.6257, allocations: 55.78 kB / 0.73 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.6259, allocations: 11.98 kB / 0.7301 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.6259, allocations: 11.98 kB / 0.7301 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.626, allocations: 19.92 kB / 0.7301 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.626, allocations: 3.938 kB / 0.7301 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.6261, allocations: 7.938 kB / 0.7301 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.6261, allocations: 7.984 kB / 0.7301 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.6261, allocations: 37.64 kB / 0.7301 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6263, allocations: 35.8 kB / 0.7302 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6263, allocations: 0 / 0.7302 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6263, allocations: 4 kB / 0.7302 GB, free: 9.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6263, allocations: 4 kB / 0.7302 GB, free: 9.785 MB / 0.545 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.0006446/0.627, allocations: 365.3 kB / 0.7305 GB, free: 9.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.627, allocations: 12.03 kB / 0.7305 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.6271, allocations: 4.938 kB / 0.7305 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.6272, allocations: 180.2 kB / 0.7307 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.6273, allocations: 384 / 0.7307 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.6273, allocations: 4.375 kB / 0.7307 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.6276, allocations: 74.22 kB / 0.7308 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6276, allocations: 4.188 kB / 0.7308 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.6276, allocations: 7.938 kB / 0.7308 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6277, allocations: 0 / 0.7308 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.628, allocations: 83.92 kB / 0.7309 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.6284, allocations: 265 kB / 0.7311 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.6286, allocations: 74.42 kB / 0.7312 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.6288, allocations: 48.91 kB / 0.7313 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.6289, allocations: 4 kB / 0.7313 GB, free: 8.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.6289, allocations: 30.56 kB / 0.7313 GB, free: 8.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6289, allocations: 4 kB / 0.7313 GB, free: 8.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005865/0.6295, allocations: 169.4 kB / 0.7315 GB, free: 8.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.6295, allocations: 51.41 kB / 0.7315 GB, free: 8.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.6296, allocations: 113.8 kB / 0.7316 GB, free: 8.129 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.6296, allocations: 25.7 kB / 0.7316 GB, free: 8.098 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.6297, allocations: 88.08 kB / 0.7317 GB, free: 8.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.6297, allocations: 3.906 kB / 0.7317 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.6297, allocations: 17.72 kB / 0.7317 GB, free: 7.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6299, allocations: 314.8 kB / 0.732 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.63, allocations: 43.97 kB / 0.7321 GB, free: 7.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.6302, allocations: 43.95 kB / 0.7321 GB, free: 7.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.6305, allocations: 84.8 kB / 0.7322 GB, free: 7.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6305, allocations: 7.938 kB / 0.7322 GB, free: 7.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003391/0.6308, allocations: 129.5 kB / 0.7323 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6309, allocations: 4 kB / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6309, allocations: 0 / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6309, allocations: 3.938 kB / 0.7323 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.631, allocations: 19.98 kB / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6311, allocations: 0 / 0.7324 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.6311, allocations: 23.92 kB / 0.7324 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.6312, allocations: 8 kB / 0.7324 GB, free: 7.293 MB / 0.545 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 7.685e-05/0.6312, allocations: 109.8 kB / 0.7325 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.6313, allocations: 4 kB / 0.7325 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.6313, allocations: 11.89 kB / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6313, allocations: 0 / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6313, allocations: 0 / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6313, allocations: 0 / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.6315, allocations: 177.6 kB / 0.7327 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6315, allocations: 0 / 0.7327 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.6316, allocations: 23.97 kB / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6316, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.6316, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6316, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6317, allocations: 4 kB / 0.7327 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.6321, allocations: 223.3 kB / 0.7329 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.6321, allocations: 81.11 kB / 0.733 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.6321, allocations: 0 / 0.733 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.6322, allocations: 19.97 kB / 0.733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.6323, allocations: 0 / 0.733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.6323, allocations: 4 kB / 0.733 GB, free: 6.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.6324, allocations: 87.27 kB / 0.7331 GB, free: 6.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6324, allocations: 4 kB / 0.7331 GB, free: 6.457 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002151/0.6326, allocations: 8 kB / 0.7331 GB, free: 6.449 MB / 0.545 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.000171/0.6328, allocations: 99.25 kB / 0.7332 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.6331, allocations: 91.86 kB / 0.7333 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6332, allocations: 0 / 0.7333 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.6333, allocations: 52.42 kB / 0.7334 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.6336, allocations: 11.94 kB / 0.7334 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.634, allocations: 136.4 kB / 0.7335 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6343, allocations: 0.6848 MB / 0.7342 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.6343, allocations: 0 / 0.7342 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.6343, allocations: 11.44 kB / 0.7342 GB, free: 5.312 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.6344, allocations: 0 / 0.7342 GB, free: 5.312 MB / 0.545 GB Notification: Performance of Templates: time 0.002697/0.6371, allocations: 0.5485 MB / 0.7347 GB, free: 4.77 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) Environment - environmentSimulation: