Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 218.9 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 62.03 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4152, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002447/0.4176, allocations: 0.6718 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.42, allocations: 1.354 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.4201, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.4207, allocations: 199.5 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.4209, allocations: 99.72 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.4219, allocations: 238.9 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.4227, allocations: 483.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.4227, allocations: 4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.4231, allocations: 211.6 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.4236, allocations: 231.6 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.4238, allocations: 24 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.4241, allocations: 99.91 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.4246, allocations: 275.4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.4248, allocations: 131.4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007805/0.4256, allocations: 474.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.4256, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4256, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.4256, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001388/0.427, allocations: 0.5669 MB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.4271, allocations: 12.03 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.233e-05/0.4271, allocations: 192 / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.4272, allocations: 42.73 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.4273, allocations: 32.75 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.428, allocations: 330.4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.428, allocations: 12.38 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.4281, allocations: 24.31 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.4284, allocations: 192.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4284, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4285, allocations: 7.984 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4285, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.4287, allocations: 111.9 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.4291, allocations: 294.4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.4296, allocations: 307.6 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.4298, allocations: 130.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.4299, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005675/0.4304, allocations: 295.5 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.4304, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009455/0.4314, allocations: 0.4933 MB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4315, allocations: 114.8 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.432, allocations: 400.5 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.4321, allocations: 41.69 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4323, allocations: 148.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.4323, allocations: 39.72 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.4325, allocations: 125.6 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.4327, allocations: 338.8 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.4329, allocations: 83.95 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/0.4338, allocations: 1.087 MB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.4342, allocations: 265.4 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4342, allocations: 0 / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006613/0.4349, allocations: 337.2 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4349, allocations: 8 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4349, allocations: 4 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4349, allocations: 4 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4351, allocations: 27.92 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4351, allocations: 4 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.4359, allocations: 80.48 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.436, allocations: 20.09 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002931/0.4363, allocations: 192.3 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.4363, allocations: 31.75 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.4364, allocations: 33.89 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4364, allocations: 240 / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.4364, allocations: 4 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4364, allocations: 3.984 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.4367, allocations: 228.6 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.4367, allocations: 8 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.4368, allocations: 7.938 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4368, allocations: 4 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.4368, allocations: 11.92 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4368, allocations: 0 / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4368, allocations: 4 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.4375, allocations: 434.5 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.4375, allocations: 31.73 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.4376, allocations: 7.984 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.4377, allocations: 4 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.4377, allocations: 19.98 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4377, allocations: 11.98 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003487/0.4381, allocations: 295 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4381, allocations: 0 / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004768/0.4386, allocations: 75.94 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00113/0.4397, allocations: 0.9978 MB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.4402, allocations: 256.2 kB / 1.339 GB, free: 3.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4402, allocations: 0 / 1.339 GB, free: 3.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4404, allocations: 119.9 kB / 1.339 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4407, allocations: 23.23 kB / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.4452, allocations: 3.266 MB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.4454, allocations: 157.1 kB / 1.343 GB, free: 80 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.4456, allocations: 49.94 kB / 1.343 GB, free: 32 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4457, allocations: 91.41 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of SimCode: time 8.72e-07/0.4457, allocations: 3.938 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.4791, allocations: 8.241 MB / 1.351 GB, free: 8.008 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.35, allocations: 5.703 kB / 1.351 GB, free: 8.004 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.39497654605657] Failed to read output from testmodel.py, exit status != 0: 12.51818011503201 12.540443738 12.109826696 Calling exit ...