Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001313/0.001313, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.49/1.49, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 0.5495 GB, free: 17.71 MB / 462.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.001432/0.001432, allocations: 79 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2564, allocations: 114.6 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.002221/0.2587, allocations: 0.6512 MB / 0.7847 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2597, allocations: 0.8088 MB / 0.7855 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.2598, allocations: 7.938 kB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.2598, allocations: 3.938 kB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.2599, allocations: 0 / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.2601, allocations: 15.92 kB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.2601, allocations: 19.98 kB / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2602, allocations: 11.98 kB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.2603, allocations: 11.94 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.2604, allocations: 11.92 kB / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2604, allocations: 0 / 0.7856 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.2604, allocations: 8 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.2604, allocations: 7.938 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.2605, allocations: 11.92 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.772e-05/0.2605, allocations: 19.91 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2606, allocations: 4 kB / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2606, allocations: 0 / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2606, allocations: 0 / 0.7856 GB, free: 2.293 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004605/0.261, allocations: 335.7 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2611, allocations: 8.031 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.2611, allocations: 8.938 kB / 0.7859 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2613, allocations: 164.4 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2613, allocations: 384 / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.2613, allocations: 384 / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.2615, allocations: 54.22 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2616, allocations: 192 / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2616, allocations: 3.938 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2616, allocations: 4 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2618, allocations: 39.89 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.2622, allocations: 241 kB / 0.7864 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.2623, allocations: 42.48 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.2624, allocations: 24.91 kB / 0.7865 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.2625, allocations: 4 kB / 0.7865 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2625, allocations: 30.56 kB / 0.7865 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2625, allocations: 3.938 kB / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003621/0.2629, allocations: 85.55 kB / 0.7866 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2629, allocations: 51.41 kB / 0.7867 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2631, allocations: 102 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.2631, allocations: 29.7 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.2631, allocations: 84.14 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.2632, allocations: 3.906 kB / 0.7869 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.2632, allocations: 13.72 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2633, allocations: 314.8 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.2634, allocations: 15.97 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.2635, allocations: 23.98 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.2637, allocations: 36.77 kB / 0.7873 GB, free: 392 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2637, allocations: 4 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.2639, allocations: 69.59 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2639, allocations: 7.938 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2639, allocations: 4.094 kB / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2639, allocations: 4 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.264, allocations: 7.984 kB / 0.7873 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.264, allocations: 0 / 0.7873 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.2641, allocations: 4 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2641, allocations: 3.938 kB / 0.7874 GB, free: 280 kB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.175e-05/0.2642, allocations: 121.8 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.2642, allocations: 0 / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.2644, allocations: 72.72 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2645, allocations: 4 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2645, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2645, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.414/0.6785, allocations: 155.4 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6786, allocations: 1.312 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6787, allocations: 8.141 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6787, allocations: 0.5312 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.6787, allocations: 2.312 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6787, allocations: 1.031 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6788, allocations: 3.438 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.679, allocations: 172 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.6791, allocations: 80.48 kB / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.6791, allocations: 0 / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.6792, allocations: 6.844 kB / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.6793, allocations: 5.203 kB / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6793, allocations: 3.562 kB / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.6793, allocations: 81.22 kB / 0.788 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6793, allocations: 0 / 0.788 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002924/0.6796, allocations: 3.469 kB / 0.788 GB, free: 48.27 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.0001353/0.6797, allocations: 100.8 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.68, allocations: 41.66 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.68, allocations: 0.5 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.6801, allocations: 21.23 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.6804, allocations: 7.344 kB / 0.7882 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.6807, allocations: 122.7 kB / 0.7883 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.6808, allocations: 0.6783 MB / 0.789 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.6808, allocations: 13.72 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6808, allocations: 0.8438 kB / 0.789 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.001942/0.6828, allocations: 0.5421 MB / 0.7895 GB, free: 47.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)