Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 152 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.001663/0.001663, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.159/2.159, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4773, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002842/0.4801, allocations: 2.463 MB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.482, allocations: 1.581 MB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.4821, allocations: 9.969 kB / 0.9537 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.4826, allocations: 323.9 kB / 0.954 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.4831, allocations: 335.7 kB / 0.9543 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.4837, allocations: 437.1 kB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.4842, allocations: 0.7124 MB / 0.9554 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.4844, allocations: 78.81 kB / 0.9555 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.4846, allocations: 315.8 kB / 0.9558 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.4849, allocations: 316.7 kB / 0.9561 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.485, allocations: 33.34 kB / 0.9562 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.4851, allocations: 91.67 kB / 0.9562 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.4853, allocations: 194.5 kB / 0.9564 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.4854, allocations: 270.1 kB / 0.9567 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.4859, allocations: 0.7343 MB / 0.9574 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4859, allocations: 1.375 kB / 0.9574 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4859, allocations: 0 / 0.9574 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.4859, allocations: 0 / 0.9574 GB, free: 3.508 MB / 0.7169 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.001084/0.487, allocations: 1.009 MB / 0.9584 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.4871, allocations: 10.31 kB / 0.9584 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.4871, allocations: 45.64 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.84e-05/0.4872, allocations: 73.88 kB / 0.9585 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006847/0.4879, allocations: 0.6218 MB / 0.9591 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4879, allocations: 14.88 kB / 0.9591 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.488, allocations: 12.22 kB / 0.9591 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.4883, allocations: 198.9 kB / 0.9593 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4883, allocations: 4.875 kB / 0.9593 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.4883, allocations: 1.125 kB / 0.9593 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.4883, allocations: 3.219 kB / 0.9593 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.4886, allocations: 101.6 kB / 0.9594 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.4895, allocations: 1.056 MB / 0.9605 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.49, allocations: 275.2 kB / 0.9607 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.4902, allocations: 105.9 kB / 0.9608 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.4902, allocations: 11.98 kB / 0.9608 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.4905, allocations: 220.8 kB / 0.9611 GB, free: 452 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.4905, allocations: 0 / 0.9611 GB, free: 452 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0007935/0.4913, allocations: 430.2 kB / 0.9615 GB, free: 228 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.4914, allocations: 165.6 kB / 0.9616 GB, free: 28 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.4925, allocations: 1.036 MB / 0.9626 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4925, allocations: 32.7 kB / 0.9627 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.4927, allocations: 297.8 kB / 0.963 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.4928, allocations: 80.42 kB / 0.963 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.493, allocations: 138.4 kB / 0.9632 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.4931, allocations: 327.2 kB / 0.9635 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.4935, allocations: 216.6 kB / 0.9637 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.4939, allocations: 305.2 kB / 0.964 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.4946, allocations: 414.5 kB / 0.9644 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4946, allocations: 1.344 kB / 0.9644 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001081/0.4957, allocations: 0.6709 MB / 0.965 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4957, allocations: 5.406 kB / 0.965 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4957, allocations: 7.406 kB / 0.965 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.4957, allocations: 4.375 kB / 0.965 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4961, allocations: 123.8 kB / 0.9652 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4961, allocations: 4.969 kB / 0.9652 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.4964, allocations: 37.89 kB / 0.9652 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.4964, allocations: 27.05 kB / 0.9652 GB, free: 13.82 MB / 0.7325 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.0002687/0.4967, allocations: 275 kB / 0.9655 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.565e-05/0.4968, allocations: 71.81 kB / 0.9656 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.4969, allocations: 74.89 kB / 0.9656 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4969, allocations: 8.281 kB / 0.9656 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4969, allocations: 1.469 kB / 0.9656 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4969, allocations: 4.922 kB / 0.9656 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.4974, allocations: 464.7 kB / 0.9661 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4974, allocations: 1.719 kB / 0.9661 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.4974, allocations: 23.92 kB / 0.9661 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.4975, allocations: 2.188 kB / 0.9661 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4975, allocations: 8.312 kB / 0.9661 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4975, allocations: 10.91 kB / 0.9661 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4975, allocations: 9.297 kB / 0.9661 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.4981, allocations: 384.1 kB / 0.9665 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.4982, allocations: 158.1 kB / 0.9667 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.4983, allocations: 17.33 kB / 0.9667 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.4985, allocations: 16.05 kB / 0.9667 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.4986, allocations: 22.81 kB / 0.9667 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.4986, allocations: 14.75 kB / 0.9667 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006564/0.4992, allocations: 0.6036 MB / 0.9673 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4992, allocations: 0 / 0.9673 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003835/0.4996, allocations: 113 kB / 0.9674 GB, free: 12.37 MB / 0.7325 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.001797/0.5014, allocations: 1.321 MB / 0.9687 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.5021, allocations: 415.8 kB / 0.9691 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5022, allocations: 0 / 0.9691 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.5024, allocations: 107.2 kB / 0.9692 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.5032, allocations: 212.8 kB / 0.9694 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006738/0.51, allocations: 5.988 MB / 0.9753 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.5104, allocations: 0.9285 MB / 0.9762 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.5107, allocations: 112.9 kB / 0.9763 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.511, allocations: 239.3 kB / 0.9765 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.511, allocations: 3.938 kB / 0.9765 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/0.9455, allocations: 13.35 MB / 0.9895 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/8.456, allocations: 8 kB / 0.9896 GB, free: 8.727 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)