Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 116.3 kB / 16.37 MB, free: 6.004 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.001235/0.001235, allocations: 189.1 kB / 17.3 MB, free: 5.617 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.845/1.845, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001463/0.001463, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2693, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002126/0.2715, allocations: 0.7178 MB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2725, allocations: 0.801 MB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.2726, allocations: 0 / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.2727, allocations: 3.938 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.2727, allocations: 11.94 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.2728, allocations: 7.984 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.2729, allocations: 47.84 kB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2731, allocations: 11.98 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.2731, allocations: 19.92 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.2732, allocations: 23.91 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2732, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.2732, allocations: 4 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.2733, allocations: 15.94 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.2733, allocations: 19.92 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.2734, allocations: 39.86 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2734, allocations: 0 / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2734, allocations: 0 / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2734, allocations: 0 / 0.7865 GB, free: 1.434 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005757/0.274, allocations: 359.4 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2741, allocations: 8.031 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.2741, allocations: 12.84 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2742, allocations: 172.2 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2743, allocations: 4.375 kB / 0.787 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2743, allocations: 8.312 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.2746, allocations: 66.22 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2746, allocations: 192 / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2746, allocations: 3.938 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.2746, allocations: 4 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.2749, allocations: 63.92 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.2754, allocations: 272.8 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2756, allocations: 58.47 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2757, allocations: 40.92 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2758, allocations: 0 / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2758, allocations: 34.56 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2758, allocations: 4 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005466/0.2764, allocations: 133.5 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4034/0.6798, allocations: 51.41 kB / 0.7877 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.68, allocations: 103.5 kB / 0.7878 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.68, allocations: 28.33 kB / 0.7879 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.68, allocations: 86.8 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.6801, allocations: 6.25 kB / 0.7879 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.6801, allocations: 16.52 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.6802, allocations: 315.1 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.6803, allocations: 34.58 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6805, allocations: 32.62 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.6808, allocations: 67.59 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6808, allocations: 3.75 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003253/0.6811, allocations: 107.2 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6811, allocations: 5.469 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6811, allocations: 0 / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.6812, allocations: 0 / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6813, allocations: 17.73 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6813, allocations: 0 / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.6814, allocations: 16.14 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.6814, allocations: 2.906 kB / 0.7885 GB, free: 48.48 MB / 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 (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 5.545e-05/0.6815, allocations: 110.9 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.6815, allocations: 4.438 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.6818, allocations: 112.9 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6819, allocations: 0 / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6819, allocations: 9.156 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6819, allocations: 0 / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.682, allocations: 168.9 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.682, allocations: 3.844 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.6821, allocations: 18.42 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6821, allocations: 0.5 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.6821, allocations: 6.844 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6821, allocations: 0 / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6821, allocations: 4.391 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.6825, allocations: 190.7 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.6825, allocations: 80.08 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6825, allocations: 7.062 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6826, allocations: 15.94 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.6827, allocations: 4.438 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.6827, allocations: 0 / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.6827, allocations: 94.27 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6827, allocations: 0 / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002269/0.683, allocations: 10.16 kB / 0.7893 GB, free: 47.82 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 (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.0001161/0.6831, allocations: 105.9 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.6834, allocations: 71.11 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6834, allocations: 0.6562 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.6836, allocations: 35.97 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6839, allocations: 6.406 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.6842, allocations: 152 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.6843, allocations: 0.6824 MB / 0.7904 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.6844, allocations: 10.06 kB / 0.7904 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.6844, allocations: 0 / 0.7904 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.001989/0.6864, allocations: 0.7398 MB / 0.7911 GB, free: 46.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)