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.001293/0.001293, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001419/0.001419, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.09/3.09, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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.002093/0.002093, allocations: 71.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001632/1.061, allocations: 0.6837 MB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001366/1.063, allocations: 1.381 MB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/1.063, allocations: 2.406 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/1.063, allocations: 193.2 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/1.063, allocations: 103.8 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/1.064, allocations: 239.8 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/1.064, allocations: 0.4892 MB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/1.064, allocations: 3.188 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/1.065, allocations: 204.4 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/1.065, allocations: 221.1 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/1.065, allocations: 23.41 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/1.065, allocations: 93.69 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/1.065, allocations: 268.1 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/1.066, allocations: 148.3 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/1.066, allocations: 483.4 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.066, allocations: 0 / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/1.066, allocations: 0 / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.066, allocations: 0.5625 kB / 1.326 GB, free: 22.57 MB / 1.061 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.0009862/1.067, allocations: 0.6529 MB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.067, allocations: 13.64 kB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.211e-05/1.067, allocations: 2 kB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/1.067, allocations: 39.03 kB / 1.327 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/1.067, allocations: 34.66 kB / 1.327 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/1.068, allocations: 385.1 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.068, allocations: 9.312 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/1.068, allocations: 20.31 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/1.068, allocations: 196.1 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.068, allocations: 9.062 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.068, allocations: 1.219 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.068, allocations: 1.031 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/1.068, allocations: 110.7 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/1.069, allocations: 383.4 kB / 1.328 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/1.069, allocations: 314 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/1.069, allocations: 129.4 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/1.069, allocations: 1.703 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/1.07, allocations: 287 kB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/1.07, allocations: 0 / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009312/1.071, allocations: 0.4937 MB / 1.329 GB, free: 20.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/1.071, allocations: 114.2 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/1.071, allocations: 400.8 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/1.071, allocations: 42.22 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.072, allocations: 149.4 kB / 1.33 GB, free: 20.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/1.072, allocations: 46.14 kB / 1.33 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.072, allocations: 113.8 kB / 1.33 GB, free: 20.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/1.072, allocations: 343.7 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.072, allocations: 90.53 kB / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/1.072, allocations: 463.7 kB / 1.331 GB, free: 19.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/1.073, allocations: 252.6 kB / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.073, allocations: 5.219 kB / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005163/1.073, allocations: 333.3 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.073, allocations: 7.453 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.073, allocations: 3.531 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.073, allocations: 5.75 kB / 1.331 GB, free: 19.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.073, allocations: 33.67 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.074, allocations: 8.812 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007998/1.074, allocations: 68.28 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/1.074, allocations: 11.28 kB / 1.331 GB, free: 19.23 MB / 1.061 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.0002097/1.075, allocations: 198.8 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/1.075, allocations: 32.97 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/1.075, allocations: 37.7 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.075, allocations: 2.172 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.075, allocations: 1.875 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.075, allocations: 5.391 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/1.075, allocations: 283.1 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.075, allocations: 0.6875 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/1.075, allocations: 9 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.075, allocations: 5.906 kB / 1.332 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.075, allocations: 13.91 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.075, allocations: 5.094 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.075, allocations: 1.375 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/1.076, allocations: 429.6 kB / 1.332 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/1.076, allocations: 103.1 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/1.076, allocations: 7.594 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.076, allocations: 10.69 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/1.076, allocations: 15.91 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/1.076, allocations: 16.89 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004178/1.076, allocations: 291.8 kB / 1.333 GB, free: 18.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.076, allocations: 0.5 kB / 1.333 GB, free: 18.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004985/1.077, allocations: 80.31 kB / 1.333 GB, free: 18.35 MB / 1.061 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.001042/1.078, allocations: 1.004 MB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004693/1.078, allocations: 246.1 kB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.078, allocations: 1.5 kB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/1.079, allocations: 126 kB / 1.334 GB, free: 17.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/1.079, allocations: 28.38 kB / 1.334 GB, free: 17.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/1.083, allocations: 3.262 MB / 1.337 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/1.083, allocations: 0.7722 MB / 1.338 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001423/1.083, allocations: 44.89 kB / 1.338 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.083, allocations: 84.98 kB / 1.338 GB, free: 14.79 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.083, allocations: 0 / 1.338 GB, free: 14.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/1.111, allocations: 7.658 MB / 1.346 GB, free: 14.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.731/9.843, allocations: 12.95 kB / 1.346 GB, free: 14.01 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.513172500999644] Failed to read output from testmodel.py, exit status != 0: 9.973562222032342 9.991466632 8.921890998 Calling exit ...