Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.009138/0.009139, allocations: 102 kB / 15.73 MB, free: 5.988 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.001631/0.001631, allocations: 194.5 kB / 16.67 MB, free: 5.926 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.711/1.711, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.699/1.699, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.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.001569/0.001569, allocations: 71.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2802, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003965/0.2842, allocations: 2.475 MB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2865, allocations: 1.295 MB / 0.8318 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.2867, allocations: 11.88 kB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.2873, allocations: 318.9 kB / 0.8321 GB, free: 12.05 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.0006113/0.288, allocations: 330.7 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/0.2888, allocations: 372.6 kB / 0.8328 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.2894, allocations: 0.6583 MB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2896, allocations: 80.91 kB / 0.8335 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.29, allocations: 310.8 kB / 0.8338 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.2903, allocations: 302.8 kB / 0.8341 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.2904, allocations: 28 kB / 0.8341 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2905, allocations: 63.98 kB / 0.8342 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.2907, allocations: 187.3 kB / 0.8343 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.2909, allocations: 254.2 kB / 0.8346 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.2916, allocations: 0.6967 MB / 0.8353 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2916, allocations: 0 / 0.8353 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2916, allocations: 0 / 0.8353 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.2916, allocations: 4 kB / 0.8353 GB, free: 8.801 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.001235/0.2928, allocations: 0.9637 MB / 0.8362 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2929, allocations: 8.031 kB / 0.8362 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.293, allocations: 72 kB / 0.8363 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/0.2938, allocations: 0.5821 MB / 0.8368 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2938, allocations: 16.36 kB / 0.8369 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.2939, allocations: 24.06 kB / 0.8369 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.2942, allocations: 191.6 kB / 0.8371 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2943, allocations: 0 / 0.8371 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2943, allocations: 8 kB / 0.8371 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2943, allocations: 4 kB / 0.8371 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.2946, allocations: 99.88 kB / 0.8372 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.2957, allocations: 1.032 MB / 0.8382 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.2962, allocations: 277 kB / 0.8384 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2965, allocations: 108.2 kB / 0.8385 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.2965, allocations: 8 kB / 0.8386 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/0.2969, allocations: 230.2 kB / 0.8388 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/0.2969, allocations: 3.984 kB / 0.8388 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.000919/0.2978, allocations: 417.7 kB / 0.8392 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.2979, allocations: 166.2 kB / 0.8393 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2991, allocations: 0.9888 MB / 0.8403 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2991, allocations: 33.7 kB / 0.8403 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.2993, allocations: 280.8 kB / 0.8406 GB, free: 3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.2994, allocations: 79.08 kB / 0.8407 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.2996, allocations: 146 kB / 0.8408 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2998, allocations: 390.8 kB / 0.8412 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.3001, allocations: 205.2 kB / 0.8414 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.3005, allocations: 311 kB / 0.8417 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.3012, allocations: 399.9 kB / 0.8421 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3012, allocations: 4 kB / 0.8421 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001046/0.3022, allocations: 0.6561 MB / 0.8427 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3022, allocations: 12 kB / 0.8427 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3023, allocations: 0 / 0.8427 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3023, allocations: 8 kB / 0.8427 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.3027, allocations: 115.8 kB / 0.8428 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3027, allocations: 7.938 kB / 0.8428 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.303, allocations: 35.73 kB / 0.8429 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.303, allocations: 31.98 kB / 0.8429 GB, free: 0.5586 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.0002627/0.3033, allocations: 273.6 kB / 0.8432 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.3034, allocations: 67.16 kB / 0.8432 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.3035, allocations: 69.59 kB / 0.8433 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3035, allocations: 0 / 0.8433 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3035, allocations: 7.938 kB / 0.8433 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3036, allocations: 3.984 kB / 0.8433 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.304, allocations: 453.2 kB / 0.8437 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.304, allocations: 4 kB / 0.8437 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.304, allocations: 23.92 kB / 0.8438 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3041, allocations: 0 / 0.8438 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.3041, allocations: 11.94 kB / 0.8438 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3041, allocations: 12.06 kB / 0.8438 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3041, allocations: 3.938 kB / 0.8438 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.3047, allocations: 391.4 kB / 0.8442 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3049, allocations: 148.2 kB / 0.8443 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.305, allocations: 23.92 kB / 0.8443 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.3051, allocations: 11.98 kB / 0.8443 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.3052, allocations: 19.92 kB / 0.8444 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.3052, allocations: 19.98 kB / 0.8444 GB, free: 14.93 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00068/0.3059, allocations: 0.5693 MB / 0.8449 GB, free: 14.37 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3059, allocations: 0 / 0.8449 GB, free: 14.37 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000395/0.3063, allocations: 120 kB / 0.8451 GB, free: 14.25 MB / 0.67 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.001161/0.3075, allocations: 476.8 kB / 0.8455 GB, free: 13.96 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008055/0.3083, allocations: 403.6 kB / 0.8459 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3083, allocations: 0 / 0.8459 GB, free: 13.57 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.3086, allocations: 112.3 kB / 0.846 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.3094, allocations: 221.3 kB / 0.8462 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.3111, allocations: 1.049 MB / 0.8472 GB, free: 12.17 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.3116, allocations: 0.9205 MB / 0.8481 GB, free: 11.22 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.3118, allocations: 112.8 kB / 0.8482 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.312, allocations: 55.42 kB / 0.8483 GB, free: 11.06 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.312, allocations: 4 kB / 0.8483 GB, free: 11.05 MB / 0.67 GB Notification: Performance of Templates: time 0.01511/0.3271, allocations: 7.452 MB / 0.8556 GB, free: 3.699 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)