Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.004178/0.004178, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001244/0.001244, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.227/2.227, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 67.89 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5886, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00332/0.592, allocations: 2.47 MB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.5944, allocations: 1.572 MB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.5946, allocations: 11.88 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.5952, allocations: 322.9 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.5958, allocations: 338.6 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008601/0.5966, allocations: 438.5 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000769/0.5974, allocations: 0.709 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.5976, allocations: 85.72 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.598, allocations: 318.7 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.5984, allocations: 322.7 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.615e-05/0.5984, allocations: 32 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.5986, allocations: 83.91 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.5988, allocations: 187.3 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.5991, allocations: 274.1 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007193/0.5998, allocations: 0.7426 MB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5998, allocations: 3.938 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5998, allocations: 0 / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.5998, allocations: 0 / 1.174 GB, free: 11.83 MB / 0.9044 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.001379/0.6012, allocations: 1.034 MB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.6012, allocations: 12.62 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.6013, allocations: 42.73 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.6014, allocations: 80.41 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008191/0.6023, allocations: 0.6335 MB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6023, allocations: 16.12 kB / 1.176 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.6023, allocations: 19.98 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.6027, allocations: 192 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.6027, allocations: 0 / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.6027, allocations: 11.98 kB / 1.176 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.6027, allocations: 4 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.603, allocations: 99.88 kB / 1.176 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.6041, allocations: 1.048 MB / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.6047, allocations: 277 kB / 1.177 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.6049, allocations: 108.2 kB / 1.177 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.6049, allocations: 4 kB / 1.177 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.6053, allocations: 239.3 kB / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.6053, allocations: 0 / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.0008714/0.6062, allocations: 420.9 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.6063, allocations: 166.2 kB / 1.178 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.6074, allocations: 1.024 MB / 1.179 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.6075, allocations: 41.69 kB / 1.179 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.6077, allocations: 292.9 kB / 1.179 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.6078, allocations: 79.45 kB / 1.18 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.608, allocations: 146.2 kB / 1.18 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6081, allocations: 326 kB / 1.18 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.6085, allocations: 213.2 kB / 1.18 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.6089, allocations: 307 kB / 1.181 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.6095, allocations: 415.1 kB / 1.181 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6095, allocations: 0 / 1.181 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001038/0.6106, allocations: 0.6783 MB / 1.182 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6106, allocations: 4 kB / 1.182 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6106, allocations: 4 kB / 1.182 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6106, allocations: 4 kB / 1.182 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.611, allocations: 119.8 kB / 1.182 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.611, allocations: 17.17 kB / 1.182 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.6112, allocations: 39.83 kB / 1.182 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.6113, allocations: 27.98 kB / 1.182 GB, free: 3.359 MB / 0.9044 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.0002775/0.6116, allocations: 284.7 kB / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.6117, allocations: 75.48 kB / 1.182 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.6118, allocations: 77.88 kB / 1.182 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6118, allocations: 7.938 kB / 1.182 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6118, allocations: 0 / 1.182 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6118, allocations: 0 / 1.182 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.6122, allocations: 465.2 kB / 1.183 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6122, allocations: 0 / 1.183 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.6123, allocations: 19.98 kB / 1.183 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6123, allocations: 4 kB / 1.183 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6123, allocations: 15.98 kB / 1.183 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.6123, allocations: 11.88 kB / 1.183 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6123, allocations: 0 / 1.183 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006106/0.613, allocations: 391.8 kB / 1.183 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.6131, allocations: 164.5 kB / 1.183 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.6132, allocations: 15.98 kB / 1.183 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6134, allocations: 19.92 kB / 1.183 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.6134, allocations: 23.91 kB / 1.183 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.6134, allocations: 15.98 kB / 1.183 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006736/0.6141, allocations: 0.6044 MB / 1.184 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6141, allocations: 0 / 1.184 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003503/0.6145, allocations: 111.9 kB / 1.184 GB, free: 0.9805 MB / 0.9044 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.002324/0.6168, allocations: 1.316 MB / 1.185 GB, free: 15.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006925/0.6175, allocations: 397.8 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6175, allocations: 4 kB / 1.186 GB, free: 15.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.6178, allocations: 99.89 kB / 1.186 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.6186, allocations: 231.8 kB / 1.186 GB, free: 15.1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.6253, allocations: 5.788 MB / 1.192 GB, free: 9.098 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.6258, allocations: 0.9363 MB / 1.193 GB, free: 8.133 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.626, allocations: 104.9 kB / 1.193 GB, free: 8.027 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.6263, allocations: 235.3 kB / 1.193 GB, free: 7.797 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.6263, allocations: 0 / 1.193 GB, free: 7.797 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.503/4.13, allocations: 13.51 MB / 1.206 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/15.12, allocations: 3.984 kB / 1.206 GB, free: 10.43 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)