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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000856/0.0008561, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005263/0.005263, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.195/1.195, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.104/2.104, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002796, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/0.534, allocations: 142.4 MB / 0.9552 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.001941/0.536, allocations: 2.145 MB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.538, allocations: 1.548 MB / 0.9588 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.5382, allocations: 12.22 kB / 0.9588 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.5387, allocations: 298.7 kB / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.5391, allocations: 307.1 kB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.5399, allocations: 408.8 kB / 0.9598 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.5405, allocations: 0.6631 MB / 0.9604 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.5407, allocations: 78.28 kB / 0.9605 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.541, allocations: 284 kB / 0.9608 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.5414, allocations: 315.5 kB / 0.9611 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.5414, allocations: 11.53 kB / 0.9611 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.5416, allocations: 75.39 kB / 0.9612 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.5418, allocations: 173.8 kB / 0.9613 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.5419, allocations: 272.3 kB / 0.9616 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.5424, allocations: 0.7077 MB / 0.9623 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.5424, allocations: 1.156 kB / 0.9623 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5425, allocations: 0 / 0.9623 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.5425, allocations: 0 / 0.9623 GB, free: 2.465 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.001111/0.5436, allocations: 0.8939 MB / 0.9631 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.5436, allocations: 9.156 kB / 0.9632 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.5437, allocations: 47.61 kB / 0.9632 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5438, allocations: 76.56 kB / 0.9633 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.5445, allocations: 0.6309 MB / 0.9639 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.5445, allocations: 14.41 kB / 0.9639 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.5445, allocations: 18.05 kB / 0.9639 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.5448, allocations: 197 kB / 0.9641 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5449, allocations: 0 / 0.9641 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.5449, allocations: 6.672 kB / 0.9641 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5449, allocations: 6.062 kB / 0.9641 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.5451, allocations: 97.91 kB / 0.9642 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.5461, allocations: 1.054 MB / 0.9652 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.5467, allocations: 274.6 kB / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.5469, allocations: 107 kB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.5469, allocations: 7.594 kB / 0.9656 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.5473, allocations: 227.8 kB / 0.9658 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.5473, allocations: 0 / 0.9658 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.0008696/0.5482, allocations: 421.4 kB / 0.9662 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.5482, allocations: 165.9 kB / 0.9664 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.5494, allocations: 1.036 MB / 0.9674 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.5495, allocations: 33.11 kB / 0.9674 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.5497, allocations: 293.2 kB / 0.9677 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.5498, allocations: 76.86 kB / 0.9678 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.5498, allocations: 69.02 kB / 0.9679 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.5499, allocations: 328.2 kB / 0.9682 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.5503, allocations: 217.1 kB / 0.9684 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.5507, allocations: 304.8 kB / 0.9687 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.5514, allocations: 409.9 kB / 0.9691 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5514, allocations: 0.9688 kB / 0.9691 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001046/0.5524, allocations: 0.6747 MB / 0.9697 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5525, allocations: 5.781 kB / 0.9697 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5525, allocations: 2.438 kB / 0.9697 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5525, allocations: 5.656 kB / 0.9697 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.5529, allocations: 123.5 kB / 0.9698 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.5529, allocations: 8.781 kB / 0.9699 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.5531, allocations: 44.05 kB / 0.9699 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.5532, allocations: 34.61 kB / 0.9699 GB, free: 12.89 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.0002666/0.5535, allocations: 279.5 kB / 0.9702 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.5536, allocations: 76.5 kB / 0.9703 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.5537, allocations: 74.92 kB / 0.9703 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5537, allocations: 8.156 kB / 0.9703 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5537, allocations: 1.156 kB / 0.9703 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5537, allocations: 1.281 kB / 0.9703 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.5541, allocations: 464.5 kB / 0.9708 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5541, allocations: 2.469 kB / 0.9708 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.5542, allocations: 22.86 kB / 0.9708 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5542, allocations: 2.375 kB / 0.9708 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5542, allocations: 13.2 kB / 0.9708 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5542, allocations: 10.25 kB / 0.9708 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5542, allocations: 1 kB / 0.9708 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.5549, allocations: 384.1 kB / 0.9712 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.555, allocations: 171.8 kB / 0.9714 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.5551, allocations: 13.2 kB / 0.9714 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.5553, allocations: 23.05 kB / 0.9714 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5554, allocations: 25.06 kB / 0.9714 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.5554, allocations: 19.14 kB / 0.9714 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006916/0.5561, allocations: 0.603 MB / 0.972 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5561, allocations: 0.875 kB / 0.972 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003998/0.5565, allocations: 109.8 kB / 0.9721 GB, free: 11.42 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.001723/0.5582, allocations: 1.316 MB / 0.9734 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.5589, allocations: 402.4 kB / 0.9738 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.5589, allocations: 0 / 0.9738 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.5592, allocations: 107 kB / 0.9739 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.5601, allocations: 197.6 kB / 0.9741 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/0.5676, allocations: 6.091 MB / 0.9801 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.568, allocations: 0.9287 MB / 0.981 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.5683, allocations: 113.5 kB / 0.9811 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.5685, allocations: 239.3 kB / 0.9813 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5686, allocations: 0 / 0.9813 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.498/2.067, allocations: 12.57 MB / 0.9936 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/2.067, allocations: 263.9 kB / 0.9938 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/4.171, allocations: 3 kB / 0.9938 GB, free: 7.352 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)