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.001481/0.001481, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.83/1.83, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001412/0.001412, allocations: 74.41 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2694, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004293/0.2737, allocations: 2.468 MB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.2766, allocations: 1.471 MB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.2769, allocations: 11.88 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.2776, allocations: 322.9 kB / 0.7883 GB, free: 8.449 MB / 0.6075 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.0006058/0.2782, allocations: 330.6 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.2792, allocations: 388.5 kB / 0.789 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.28, allocations: 0.7051 MB / 0.7897 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.2802, allocations: 81.72 kB / 0.7898 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.2806, allocations: 322.7 kB / 0.7901 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.281, allocations: 318.7 kB / 0.7904 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.2811, allocations: 36 kB / 0.7904 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2813, allocations: 87.97 kB / 0.7905 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.2815, allocations: 195.3 kB / 0.7907 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.2817, allocations: 266.2 kB / 0.7909 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007691/0.2825, allocations: 0.7511 MB / 0.7917 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2825, allocations: 0 / 0.7917 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2825, allocations: 0 / 0.7917 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.2825, allocations: 0 / 0.7917 GB, free: 5.008 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.001597/0.2841, allocations: 0.9989 MB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2842, allocations: 8.031 kB / 0.7926 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2844, allocations: 72 kB / 0.7927 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.2853, allocations: 0.6366 MB / 0.7933 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2853, allocations: 8.375 kB / 0.7933 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.2854, allocations: 19.94 kB / 0.7934 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.2858, allocations: 201.1 kB / 0.7936 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2858, allocations: 4 kB / 0.7936 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.2858, allocations: 0 / 0.7936 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2859, allocations: 4 kB / 0.7936 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.2861, allocations: 99.86 kB / 0.7937 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2875, allocations: 1.052 MB / 0.7947 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.288, allocations: 281 kB / 0.795 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.2883, allocations: 104.2 kB / 0.7951 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.2883, allocations: 8 kB / 0.7951 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.2887, allocations: 219.4 kB / 0.7953 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.2887, allocations: 0 / 0.7953 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.0009465/0.2897, allocations: 428.8 kB / 0.7957 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.2898, allocations: 166.1 kB / 0.7958 GB, free: 432 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.2909, allocations: 1.028 MB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.2909, allocations: 37.64 kB / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.2912, allocations: 292.8 kB / 0.7972 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.2913, allocations: 79.08 kB / 0.7972 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.2915, allocations: 146.1 kB / 0.7974 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2916, allocations: 326 kB / 0.7977 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.292, allocations: 217.2 kB / 0.7979 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.2924, allocations: 307 kB / 0.7982 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.293, allocations: 418.5 kB / 0.7986 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.293, allocations: 0 / 0.7986 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001068/0.2941, allocations: 0.6677 MB / 0.7992 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2941, allocations: 4 kB / 0.7992 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2942, allocations: 4 kB / 0.7992 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2942, allocations: 4 kB / 0.7992 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.2946, allocations: 120 kB / 0.7994 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.2946, allocations: 11.94 kB / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.2949, allocations: 39.67 kB / 0.7994 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.295, allocations: 27.98 kB / 0.7994 GB, free: 12.64 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 ($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.0003128/0.2953, allocations: 270.5 kB / 0.7997 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.2954, allocations: 75.06 kB / 0.7998 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.2955, allocations: 69.88 kB / 0.7998 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.2956, allocations: 8 kB / 0.7998 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.2956, allocations: 11.94 kB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2956, allocations: 3.984 kB / 0.7999 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.296, allocations: 469.1 kB / 0.8003 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2961, allocations: 0 / 0.8003 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.2961, allocations: 19.98 kB / 0.8003 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2961, allocations: 4 kB / 0.8003 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.2962, allocations: 8 kB / 0.8003 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2962, allocations: 4 kB / 0.8003 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2962, allocations: 3.938 kB / 0.8003 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006442/0.2969, allocations: 393.1 kB / 0.8007 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.297, allocations: 156.2 kB / 0.8009 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.2971, allocations: 11.98 kB / 0.8009 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2973, allocations: 23.98 kB / 0.8009 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.2974, allocations: 27.89 kB / 0.8009 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.2974, allocations: 12 kB / 0.8009 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007208/0.2981, allocations: 0.6044 MB / 0.8015 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2981, allocations: 0 / 0.8015 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004342/0.2986, allocations: 112 kB / 0.8016 GB, free: 10.28 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 (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.001165/0.2997, allocations: 490.4 kB / 0.8021 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.3005, allocations: 411.7 kB / 0.8025 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3006, allocations: 0 / 0.8025 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3008, allocations: 99.89 kB / 0.8026 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/0.3017, allocations: 213.8 kB / 0.8028 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3035, allocations: 1.092 MB / 0.8039 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.3041, allocations: 0.9207 MB / 0.8048 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.3044, allocations: 116.9 kB / 0.8049 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3045, allocations: 59.42 kB / 0.8049 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.3045, allocations: 0 / 0.8049 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of Templates: time 0.01557/0.3201, allocations: 7.763 MB / 0.8125 GB, free: 15.36 MB / 0.6387 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)