Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.0007782, allocations: 86.72 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.0008514/0.0008515, 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.362/1.362, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.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.618/1.618, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005177/0.0005179, allocations: 14.16 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2531, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002584/0.2558, allocations: 2.072 MB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.2581, allocations: 1.398 MB / 0.7907 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2583, allocations: 11.88 kB / 0.7907 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.2589, allocations: 287.2 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.2593, allocations: 278.8 kB / 0.7913 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.2601, allocations: 318.3 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006138/0.2607, allocations: 0.5996 MB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2609, allocations: 69.73 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.2612, allocations: 278.7 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.2615, allocations: 274.8 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.2616, allocations: 8 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2617, allocations: 63.97 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.2619, allocations: 171.4 kB / 0.793 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.262, allocations: 121.3 kB / 0.7931 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.2626, allocations: 0.5847 MB / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2626, allocations: 0 / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2626, allocations: 0 / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.2626, allocations: 0 / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001254/0.2639, allocations: 0.9058 MB / 0.7945 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2639, allocations: 12.03 kB / 0.7946 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.264, allocations: 75.02 kB / 0.7946 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.2649, allocations: 0.5892 MB / 0.7952 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.2649, allocations: 8 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.2649, allocations: 12 kB / 0.7952 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.2654, allocations: 209.7 kB / 0.7954 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2654, allocations: 3.938 kB / 0.7954 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2654, allocations: 4 kB / 0.7954 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2654, allocations: 4 kB / 0.7954 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.2657, allocations: 103.8 kB / 0.7955 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.2669, allocations: 1.052 MB / 0.7966 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.2675, allocations: 285 kB / 0.7968 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.2677, allocations: 100.2 kB / 0.7969 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.2677, allocations: 7.938 kB / 0.7969 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.2681, allocations: 239.3 kB / 0.7972 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.2681, allocations: 0 / 0.7972 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.0008229/0.2689, allocations: 413.7 kB / 0.7976 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.269, allocations: 166.2 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.2702, allocations: 1.02 MB / 0.7987 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2702, allocations: 37.7 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2704, allocations: 288.8 kB / 0.799 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.2705, allocations: 83.08 kB / 0.7991 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.2705, allocations: 8 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2707, allocations: 334 kB / 0.7994 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.2711, allocations: 213.2 kB / 0.7996 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.2715, allocations: 299 kB / 0.7999 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.2719, allocations: 235.3 kB / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2719, allocations: 4 kB / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001004/0.2729, allocations: 0.6712 MB / 0.8008 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2729, allocations: 11.95 kB / 0.8008 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2729, allocations: 0 / 0.8008 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.273, allocations: 8 kB / 0.8008 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.2733, allocations: 115.8 kB / 0.8009 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.2734, allocations: 4 kB / 0.8009 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2736, allocations: 39.77 kB / 0.801 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.2737, allocations: 28.05 kB / 0.801 GB, free: 13.53 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002846/0.274, allocations: 277.7 kB / 0.8013 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.2741, allocations: 79.05 kB / 0.8013 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2742, allocations: 81.81 kB / 0.8014 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2742, allocations: 4 kB / 0.8014 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2742, allocations: 0 / 0.8014 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2742, allocations: 0 / 0.8014 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.2746, allocations: 469.1 kB / 0.8019 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2746, allocations: 4 kB / 0.8019 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.2747, allocations: 23.92 kB / 0.8019 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2747, allocations: 4 kB / 0.8019 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2748, allocations: 7.984 kB / 0.8019 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2748, allocations: 7.953 kB / 0.8019 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2748, allocations: 0 / 0.8019 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.2753, allocations: 393.2 kB / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.2755, allocations: 168 kB / 0.8025 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.2756, allocations: 19.98 kB / 0.8025 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.2758, allocations: 15.94 kB / 0.8025 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.2758, allocations: 23.97 kB / 0.8025 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2758, allocations: 19.98 kB / 0.8025 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006727/0.2765, allocations: 0.6005 MB / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2765, allocations: 0 / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003913/0.2769, allocations: 108 kB / 0.8032 GB, free: 11.15 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001079/0.278, allocations: 497.4 kB / 0.8037 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006855/0.2787, allocations: 393.3 kB / 0.8041 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2787, allocations: 0 / 0.8041 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.279, allocations: 108.1 kB / 0.8042 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007791/0.2797, allocations: 194.6 kB / 0.8044 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2813, allocations: 1.184 MB / 0.8055 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.2818, allocations: 0.9289 MB / 0.8064 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.2821, allocations: 108.9 kB / 0.8065 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2822, allocations: 63.42 kB / 0.8066 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2822, allocations: 0 / 0.8066 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of Templates: time 0.01248/0.2947, allocations: 7.137 MB / 0.8136 GB, free: 0.7812 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: