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.001503/0.001503, 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.001943/0.001943, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.539/2.539, allocations: 437 MB / 0.7104 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6075, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003967/0.6115, allocations: 2.484 MB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.6144, allocations: 1.568 MB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.6147, allocations: 11.88 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.6154, allocations: 322.8 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007261/0.6161, allocations: 334.6 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.6171, allocations: 443.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008007/0.618, allocations: 0.7012 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.6182, allocations: 85.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004969/0.6187, allocations: 306.8 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.6191, allocations: 330.6 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.016e-05/0.6192, allocations: 28 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.6194, allocations: 87.95 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.6197, allocations: 195.3 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.6199, allocations: 270.1 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006981/0.6206, allocations: 0.7301 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6206, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6207, allocations: 4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.6207, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 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.001605/0.6223, allocations: 0.9989 MB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6223, allocations: 8.031 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.031e-05/0.6224, allocations: 54.67 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.6226, allocations: 72 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/0.6235, allocations: 0.625 MB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.6236, allocations: 16.12 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.6236, allocations: 12 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.624, allocations: 201.7 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.624, allocations: 0 / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.624, allocations: 4 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.624, allocations: 4 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.6243, allocations: 99.88 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.6256, allocations: 1.059 MB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.6263, allocations: 280.9 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.6265, allocations: 108.2 kB / 1.029 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.6265, allocations: 7.938 kB / 1.029 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.6269, allocations: 221 kB / 1.029 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.6269, allocations: 0 / 1.029 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.000968/0.6279, allocations: 417.5 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.628, allocations: 162.2 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.6292, allocations: 1.044 MB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.6292, allocations: 33.7 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.6295, allocations: 288.8 kB / 1.031 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.6296, allocations: 87.02 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.6298, allocations: 138.2 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6299, allocations: 326 kB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.6303, allocations: 209.5 kB / 1.031 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.6308, allocations: 315 kB / 1.032 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.6314, allocations: 410.6 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6314, allocations: 0 / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001137/0.6326, allocations: 0.6795 MB / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6326, allocations: 4 kB / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6326, allocations: 4 kB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6326, allocations: 7.938 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.633, allocations: 111.8 kB / 1.033 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.633, allocations: 15.92 kB / 1.033 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.6333, allocations: 31.83 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.6334, allocations: 28.16 kB / 1.033 GB, free: 2.207 MB / 0.7794 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.0002949/0.6337, allocations: 273.6 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6338, allocations: 79.05 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.6339, allocations: 69.89 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6339, allocations: 7.938 kB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6339, allocations: 0 / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6339, allocations: 0 / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.6344, allocations: 465.2 kB / 1.034 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6344, allocations: 4 kB / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.6345, allocations: 20 kB / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6345, allocations: 0 / 1.034 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6345, allocations: 11.92 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/0.6346, allocations: 7.938 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6346, allocations: 0 / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.6352, allocations: 399 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.6354, allocations: 156.2 kB / 1.034 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.6355, allocations: 15.94 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.6357, allocations: 23.84 kB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.6357, allocations: 15.98 kB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.6358, allocations: 23.97 kB / 1.034 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007189/0.6365, allocations: 0.6083 MB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.603e-06/0.6365, allocations: 0 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004216/0.6369, allocations: 119.8 kB / 1.035 GB, free: 15.84 MB / 0.795 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.001899/0.6388, allocations: 1.305 MB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007538/0.6396, allocations: 419.3 kB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6396, allocations: 0 / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.6399, allocations: 108.3 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.6407, allocations: 220.2 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/0.6483, allocations: 5.995 MB / 1.043 GB, free: 7.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.6489, allocations: 0.9245 MB / 1.044 GB, free: 6.797 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.6493, allocations: 112.9 kB / 1.044 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/0.6496, allocations: 239.3 kB / 1.044 GB, free: 6.453 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.6496, allocations: 0 / 1.044 GB, free: 6.453 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.6833, allocations: 13.35 MB / 1.057 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/8.269, allocations: 2.75 kB / 1.057 GB, free: 9.324 MB / 0.8106 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=50 --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)