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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001434/0.001434, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.521/1.521, allocations: 252 MB / 0.5102 GB, free: 4.77 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.0005609/0.0005611, allocations: 20 kB / 0.6243 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6213/0.6219, allocations: 106.3 MB / 0.7282 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001538/0.6235, allocations: 1.126 MB / 0.7293 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000287/0.6238, allocations: 116.5 kB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.6238, allocations: 0 / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.6239, allocations: 7.922 kB / 0.7294 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.6239, allocations: 7.938 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-05/0.624, allocations: 7.984 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.693e-05/0.6241, allocations: 35.92 kB / 0.7294 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.6242, allocations: 4 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.6243, allocations: 15.92 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.6243, allocations: 23.91 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.6243, allocations: 3.938 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.6244, allocations: 4 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.6244, allocations: 11.94 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.6244, allocations: 25.7 kB / 0.7295 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.184e-05/0.6245, allocations: 35.92 kB / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6245, allocations: 0 / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6245, allocations: 0 / 0.7295 GB, free: 9.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6245, allocations: 0 / 0.7295 GB, free: 9.949 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.0005491/0.6251, allocations: 377.1 kB / 0.7299 GB, free: 9.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.819e-05/0.6251, allocations: 8.031 kB / 0.7299 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.6252, allocations: 4 kB / 0.7299 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.6253, allocations: 163 kB / 0.7301 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.6254, allocations: 4 kB / 0.7301 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.6254, allocations: 0 / 0.7301 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.6256, allocations: 85.59 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.6257, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.6257, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6257, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.626, allocations: 91.91 kB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.6264, allocations: 272.8 kB / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.6266, allocations: 70.47 kB / 0.7306 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6267, allocations: 52.92 kB / 0.7306 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.6268, allocations: 0 / 0.7306 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6268, allocations: 30.56 kB / 0.7307 GB, free: 8.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.6268, allocations: 3.938 kB / 0.7307 GB, free: 8.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000529/0.6273, allocations: 161.6 kB / 0.7308 GB, free: 8.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6274, allocations: 51.41 kB / 0.7309 GB, free: 8.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.6275, allocations: 117.7 kB / 0.731 GB, free: 8.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.6275, allocations: 25.7 kB / 0.731 GB, free: 8.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.6276, allocations: 91.98 kB / 0.7311 GB, free: 8.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.6276, allocations: 7.906 kB / 0.7311 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.6276, allocations: 4 kB / 0.7311 GB, free: 8.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6278, allocations: 318.8 kB / 0.7314 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6279, allocations: 39.97 kB / 0.7314 GB, free: 7.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.6281, allocations: 47.95 kB / 0.7315 GB, free: 7.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6282, allocations: 35.97 kB / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6282, allocations: 0 / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003365/0.6286, allocations: 117.6 kB / 0.7316 GB, free: 7.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6286, allocations: 4 kB / 0.7316 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6286, allocations: 8 kB / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6287, allocations: 0 / 0.7316 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.6288, allocations: 19.97 kB / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6288, allocations: 7.938 kB / 0.7317 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.6289, allocations: 23.92 kB / 0.7317 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6289, allocations: 7.953 kB / 0.7317 GB, free: 7.527 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.6291, allocations: 109.8 kB / 0.7318 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.6291, allocations: 7.906 kB / 0.7318 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.6292, allocations: 11.89 kB / 0.7318 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.6292, allocations: 0 / 0.7318 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6292, allocations: 0 / 0.7318 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6292, allocations: 0 / 0.7318 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.6294, allocations: 169.6 kB / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6294, allocations: 0 / 0.732 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.6295, allocations: 27.98 kB / 0.732 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6295, allocations: 0 / 0.732 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.6296, allocations: 4 kB / 0.732 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6296, allocations: 3.984 kB / 0.732 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6296, allocations: 0 / 0.732 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.63, allocations: 215.4 kB / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.6301, allocations: 81.39 kB / 0.7323 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6301, allocations: 7.938 kB / 0.7323 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.6302, allocations: 19.98 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.6303, allocations: 7.984 kB / 0.7323 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.6303, allocations: 0 / 0.7323 GB, free: 6.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.44e-05/0.6304, allocations: 87.27 kB / 0.7324 GB, free: 6.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6304, allocations: 0 / 0.7324 GB, free: 6.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002223/0.6306, allocations: 8 kB / 0.7324 GB, free: 6.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002681/0.6309, allocations: 103.2 kB / 0.7325 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.6313, allocations: 91.91 kB / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6313, allocations: 0 / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.6315, allocations: 47.91 kB / 0.7327 GB, free: 6.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.6319, allocations: 19.94 kB / 0.7327 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.6324, allocations: 124.8 kB / 0.7328 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.6328, allocations: 0.6809 MB / 0.7335 GB, free: 5.562 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.6329, allocations: 4 kB / 0.7335 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.6329, allocations: 11.44 kB / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6329, allocations: 0 / 0.7335 GB, free: 5.547 MB / 0.545 GB Notification: Performance of Templates: time 0.003183/0.6361, allocations: 0.5257 MB / 0.734 GB, free: 5.031 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1) Environment - environmentSimulation: