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.00115/0.00115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001754/0.001755, allocations: 188.3 kB / 16.25 MB, free: 6.633 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.685/1.685, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.702/1.702, allocations: 251.7 MB / 0.5089 GB, free: 3.285 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.001744/0.001743, allocations: 63.91 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6037, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.002955/0.6067, allocations: 1.48 MB / 0.7255 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.6071, allocations: 116.5 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.6071, allocations: 0 / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.6072, allocations: 0 / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.6073, allocations: 7.938 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.101e-05/0.6073, allocations: 11.98 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.6074, allocations: 47.84 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.6076, allocations: 15.98 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.6076, allocations: 19.92 kB / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.6077, allocations: 19.92 kB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.6077, allocations: 7.938 kB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.6077, allocations: 4 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.6077, allocations: 7.984 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.6078, allocations: 11.94 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.6079, allocations: 43.8 kB / 0.7258 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6079, allocations: 4 kB / 0.7258 GB, free: 11.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6079, allocations: 3.938 kB / 0.7258 GB, free: 11.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.6079, allocations: 0 / 0.7258 GB, free: 11.3 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.0005871/0.6085, allocations: 369.2 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.6085, allocations: 12.03 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.6086, allocations: 0.9375 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.6087, allocations: 168.3 kB / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.6088, allocations: 4.375 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.6088, allocations: 4.375 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.609, allocations: 70.2 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6091, allocations: 8.109 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6091, allocations: 3.938 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6091, allocations: 0 / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.6093, allocations: 63.94 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.6098, allocations: 265 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.61, allocations: 58.47 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.6101, allocations: 44.86 kB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.6102, allocations: 0 / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6102, allocations: 34.55 kB / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.6102, allocations: 0 / 0.7268 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005269/0.6107, allocations: 129.5 kB / 0.7269 GB, free: 9.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.6108, allocations: 51.41 kB / 0.727 GB, free: 9.859 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.6109, allocations: 109.8 kB / 0.7271 GB, free: 9.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.6109, allocations: 29.7 kB / 0.7271 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.611, allocations: 84.08 kB / 0.7272 GB, free: 9.621 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.611, allocations: 15.89 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.6111, allocations: 13.72 kB / 0.7272 GB, free: 9.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6112, allocations: 318.8 kB / 0.7275 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6114, allocations: 35.89 kB / 0.7276 GB, free: 9.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.6115, allocations: 27.97 kB / 0.7276 GB, free: 9.203 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.6117, allocations: 72.78 kB / 0.7277 GB, free: 9.129 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6117, allocations: 3.938 kB / 0.7277 GB, free: 9.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002973/0.612, allocations: 97.53 kB / 0.7278 GB, free: 9.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6121, allocations: 4 kB / 0.7278 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6121, allocations: 4 kB / 0.7278 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6121, allocations: 3.938 kB / 0.7278 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.6123, allocations: 15.97 kB / 0.7278 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6123, allocations: 4 kB / 0.7278 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.6124, allocations: 15.92 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.6124, allocations: 0 / 0.7278 GB, free: 8.977 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 0.0001119/0.6125, allocations: 117.8 kB / 0.7279 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.6125, allocations: 0 / 0.7279 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.6126, allocations: 7.906 kB / 0.7279 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6126, allocations: 3.938 kB / 0.7279 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6126, allocations: 0 / 0.7279 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6126, allocations: 4 kB / 0.7279 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.6128, allocations: 177.5 kB / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6128, allocations: 0 / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.6129, allocations: 19.98 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6129, allocations: 0 / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.6129, allocations: 0 / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.613, allocations: 0 / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.613, allocations: 336 / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.6133, allocations: 207.3 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.6134, allocations: 81.11 kB / 0.7284 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.6134, allocations: 0 / 0.7284 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.6135, allocations: 7.984 kB / 0.7284 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.6136, allocations: 11.98 kB / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6136, allocations: 0 / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.6136, allocations: 87.28 kB / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6136, allocations: 0 / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002255/0.6139, allocations: 11.91 kB / 0.7285 GB, free: 8.152 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.0002679/0.6141, allocations: 103.2 kB / 0.7286 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.6145, allocations: 71.92 kB / 0.7287 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6145, allocations: 0 / 0.7287 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.6146, allocations: 35.91 kB / 0.7287 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.615, allocations: 11.92 kB / 0.7287 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.6154, allocations: 145.3 kB / 0.7289 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.616, allocations: 0.6768 MB / 0.7295 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.258e-05/0.6161, allocations: 4 kB / 0.7295 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.6161, allocations: 11.38 kB / 0.7295 GB, free: 7.039 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.6161, allocations: 0 / 0.7295 GB, free: 7.039 MB / 0.545 GB Notification: Performance of Templates: time 0.002644/0.6188, allocations: 0.5786 MB / 0.7301 GB, free: 6.469 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (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)