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.001568/0.001567, allocations: 107.8 kB / 16.35 MB, free: 5.879 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.001968/0.001969, allocations: 191 kB / 17.29 MB, free: 5.516 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001729/0.00173, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2581, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004814/0.2629, allocations: 2.472 MB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4024/0.6654, allocations: 1.466 MB / 0.7886 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.6657, allocations: 11.47 kB / 0.7887 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.6663, allocations: 334.3 kB / 0.789 GB, free: 46.55 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.6668, allocations: 329.2 kB / 0.7893 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.6677, allocations: 385.1 kB / 0.7897 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00062/0.6683, allocations: 0.7052 MB / 0.7903 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.6685, allocations: 78.86 kB / 0.7904 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.6688, allocations: 323.9 kB / 0.7907 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.6691, allocations: 315.3 kB / 0.791 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.6692, allocations: 28.69 kB / 0.7911 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.6694, allocations: 93.03 kB / 0.7911 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.6696, allocations: 190 kB / 0.7913 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.6698, allocations: 270.5 kB / 0.7916 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.6704, allocations: 0.7447 MB / 0.7923 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6704, allocations: 1.938 kB / 0.7923 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6704, allocations: 0 / 0.7923 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6704, allocations: 0 / 0.7923 GB, free: 46.14 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001345/0.6718, allocations: 0.9962 MB / 0.7933 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6718, allocations: 11.81 kB / 0.7933 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.672, allocations: 75.81 kB / 0.7934 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.6727, allocations: 0.6192 MB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.6727, allocations: 9.875 kB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.6728, allocations: 13.44 kB / 0.794 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.6731, allocations: 206.5 kB / 0.7942 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6731, allocations: 0 / 0.7942 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.6731, allocations: 7.812 kB / 0.7942 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6732, allocations: 2.688 kB / 0.7942 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.6734, allocations: 102.7 kB / 0.7943 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.6745, allocations: 1.054 MB / 0.7953 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.675, allocations: 277.1 kB / 0.7956 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.6752, allocations: 103.9 kB / 0.7957 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.6753, allocations: 10.91 kB / 0.7957 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.6757, allocations: 229.8 kB / 0.7959 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.6757, allocations: 3.562 kB / 0.7959 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.0009168/0.6766, allocations: 417.7 kB / 0.7963 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.6767, allocations: 160.2 kB / 0.7965 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.6778, allocations: 1.041 MB / 0.7975 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.6778, allocations: 37.14 kB / 0.7975 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.678, allocations: 285.1 kB / 0.7978 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.6781, allocations: 78.23 kB / 0.7979 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.6782, allocations: 141.5 kB / 0.798 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.6783, allocations: 335.5 kB / 0.7983 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.6787, allocations: 212.6 kB / 0.7985 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.679, allocations: 312.1 kB / 0.7988 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.6796, allocations: 405.1 kB / 0.7992 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6796, allocations: 1.125 kB / 0.7992 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001068/0.6807, allocations: 0.6655 MB / 0.7999 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6807, allocations: 5.688 kB / 0.7999 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.6808, allocations: 4.531 kB / 0.7999 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6808, allocations: 8.594 kB / 0.7999 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.6812, allocations: 116.2 kB / 0.8 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.6812, allocations: 5.406 kB / 0.8 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.6816, allocations: 47.53 kB / 0.8 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/0.6816, allocations: 26.67 kB / 0.8001 GB, free: 42.61 MB / 0.6544 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 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.682, allocations: 277.3 kB / 0.8003 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.6821, allocations: 75.12 kB / 0.8004 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.6822, allocations: 75.05 kB / 0.8005 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6822, allocations: 4.188 kB / 0.8005 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.6822, allocations: 1.719 kB / 0.8005 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6822, allocations: 7.188 kB / 0.8005 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/0.6827, allocations: 457.2 kB / 0.8009 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6827, allocations: 5.062 kB / 0.8009 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.6828, allocations: 22.98 kB / 0.801 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6828, allocations: 0 / 0.801 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.6828, allocations: 10.7 kB / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.6828, allocations: 4.562 kB / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6828, allocations: 2.469 kB / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.6834, allocations: 398.4 kB / 0.8014 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.6836, allocations: 157.8 kB / 0.8015 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.6837, allocations: 14.14 kB / 0.8015 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.6839, allocations: 17.84 kB / 0.8015 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.684, allocations: 25.41 kB / 0.8016 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.684, allocations: 14.59 kB / 0.8016 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007657/0.6848, allocations: 0.6043 MB / 0.8022 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6848, allocations: 0.8125 kB / 0.8022 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004278/0.6852, allocations: 117.1 kB / 0.8023 GB, free: 41.46 MB / 0.6544 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 (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.001124/0.6864, allocations: 492 kB / 0.8027 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008115/0.6872, allocations: 409.5 kB / 0.8031 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6872, allocations: 0 / 0.8031 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.6874, allocations: 105.3 kB / 0.8032 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.6884, allocations: 219.1 kB / 0.8034 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.69, allocations: 1.079 MB / 0.8045 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.6904, allocations: 0.9269 MB / 0.8054 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.6908, allocations: 110.2 kB / 0.8055 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.6909, allocations: 58.19 kB / 0.8056 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of SimCode: time 1.413e-06/0.6909, allocations: 0 / 0.8056 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.01636/0.7073, allocations: 7.768 MB / 0.8131 GB, free: 39.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)