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.000923/0.0009277, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000964/0.0009644, allocations: 177.3 kB / 15.94 MB, free: 228 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.347/1.347, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.591/1.591, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005182/0.0005183, allocations: 18.91 kB / 0.6736 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.243, allocations: 116.3 MB / 0.7871 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002822/0.2459, allocations: 2.049 MB / 0.7891 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.2488, allocations: 1.363 MB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.2492, allocations: 3.938 kB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.2499, allocations: 283.1 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.2506, allocations: 287.2 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009122/0.2515, allocations: 328.7 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008887/0.2524, allocations: 435.1 kB / 0.7918 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2526, allocations: 69.72 kB / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.2532, allocations: 294.9 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.2536, allocations: 250.9 kB / 0.7923 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.2537, allocations: 12 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.2539, allocations: 55.91 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2541, allocations: 167.4 kB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.2542, allocations: 121.3 kB / 0.7927 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.2548, allocations: 0.577 MB / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2549, allocations: 0 / 0.7932 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2549, allocations: 4 kB / 0.7932 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.2549, allocations: 0 / 0.7932 GB, free: 5.633 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.001566/0.2565, allocations: 0.9097 MB / 0.7941 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2565, allocations: 8.031 kB / 0.7941 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.2567, allocations: 75.02 kB / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2577, allocations: 0.597 MB / 0.7948 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2578, allocations: 19.88 kB / 0.7948 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.2578, allocations: 12 kB / 0.7948 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.2582, allocations: 200.6 kB / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2582, allocations: 0 / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2583, allocations: 12 kB / 0.795 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2583, allocations: 4 kB / 0.795 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.2585, allocations: 95.88 kB / 0.7951 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2599, allocations: 1.06 MB / 0.7962 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.2604, allocations: 277.3 kB / 0.7964 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.2605, allocations: 8 kB / 0.7964 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003619/0.2608, allocations: 231.4 kB / 0.7967 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.2608, allocations: 0 / 0.7967 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.0008531/0.2617, allocations: 413.6 kB / 0.797 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.2618, allocations: 166.2 kB / 0.7972 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2629, allocations: 1.02 MB / 0.7982 GB, free: 260 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.2629, allocations: 37.7 kB / 0.7982 GB, free: 216 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.2632, allocations: 292.8 kB / 0.7985 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.2633, allocations: 83.08 kB / 0.7986 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.2633, allocations: 8 kB / 0.7986 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2634, allocations: 330 kB / 0.7989 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2638, allocations: 209.2 kB / 0.7991 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.2642, allocations: 307 kB / 0.7994 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.2646, allocations: 231.5 kB / 0.7996 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2646, allocations: 0 / 0.7996 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001025/0.2656, allocations: 0.6711 MB / 0.8003 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.2657, allocations: 7.953 kB / 0.8003 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2657, allocations: 4 kB / 0.8003 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2657, allocations: 4 kB / 0.8003 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.2661, allocations: 115.8 kB / 0.8004 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2661, allocations: 8 kB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.2664, allocations: 43.92 kB / 0.8005 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.2665, allocations: 23.98 kB / 0.8005 GB, free: 13.86 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.0003126/0.2668, allocations: 281.7 kB / 0.8008 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.2669, allocations: 71.06 kB / 0.8008 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.267, allocations: 77.83 kB / 0.8009 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.267, allocations: 4 kB / 0.8009 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.267, allocations: 7.938 kB / 0.8009 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2671, allocations: 4 kB / 0.8009 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.2675, allocations: 465.1 kB / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2675, allocations: 0 / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.2676, allocations: 23.92 kB / 0.8014 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2676, allocations: 7.938 kB / 0.8014 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2676, allocations: 11.98 kB / 0.8014 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2676, allocations: 3.953 kB / 0.8014 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2676, allocations: 4 kB / 0.8014 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.2683, allocations: 436.4 kB / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.2685, allocations: 168.1 kB / 0.802 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.2685, allocations: 15.98 kB / 0.802 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2687, allocations: 15.98 kB / 0.802 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.2688, allocations: 19.97 kB / 0.802 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.2688, allocations: 23.94 kB / 0.8021 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006735/0.2695, allocations: 0.5966 MB / 0.8026 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2695, allocations: 0 / 0.8026 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003983/0.2699, allocations: 120 kB / 0.8027 GB, free: 11.41 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.0009818/0.2709, allocations: 488.5 kB / 0.8032 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006951/0.2716, allocations: 406.3 kB / 0.8036 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2716, allocations: 0 / 0.8036 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2718, allocations: 103.8 kB / 0.8037 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.2726, allocations: 202.4 kB / 0.8039 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2741, allocations: 1.168 MB / 0.805 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.2746, allocations: 0.9445 MB / 0.806 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002522/0.2748, allocations: 116.8 kB / 0.8061 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2749, allocations: 59.42 kB / 0.8061 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2749, allocations: 0 / 0.8061 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.01207/0.287, allocations: 7.119 MB / 0.8131 GB, free: 1.043 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: