Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001432/0.001432, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00213/0.00213, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.8 MB / 0.7715 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_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.002069/0.002069, allocations: 64.06 kB / 1.118 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 169.9 MB / 1.284 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002349/0.3993, allocations: 0.8727 MB / 1.285 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00236/0.4016, allocations: 1.487 MB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.4017, allocations: 7.938 kB / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.4023, allocations: 203.4 kB / 1.287 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.4025, allocations: 111.6 kB / 1.287 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.4036, allocations: 367 kB / 1.287 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.4047, allocations: 0.8895 MB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.4048, allocations: 60.48 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.4052, allocations: 347.5 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.4057, allocations: 291.2 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4058, allocations: 44 kB / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.4061, allocations: 119.9 kB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.4066, allocations: 359.3 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.407, allocations: 286.7 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.408, allocations: 0.9116 MB / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.408, allocations: 3.938 kB / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.408, allocations: 0 / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.408, allocations: 0 / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001762/0.4098, allocations: 0.8241 MB / 1.291 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4099, allocations: 8.031 kB / 1.291 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.958e-05/0.4099, allocations: 4.422 kB / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.4099, allocations: 54.66 kB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.4101, allocations: 64.59 kB / 1.291 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/0.411, allocations: 492.5 kB / 1.292 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.411, allocations: 24.61 kB / 1.292 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.4112, allocations: 40.31 kB / 1.292 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.4117, allocations: 313.9 kB / 1.292 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4117, allocations: 3.984 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.4117, allocations: 4 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.4117, allocations: 4 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.4121, allocations: 227.8 kB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.4142, allocations: 1.144 MB / 1.293 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.4148, allocations: 455.8 kB / 1.294 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.4151, allocations: 178.5 kB / 1.294 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.4151, allocations: 4 kB / 1.294 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005038/0.4156, allocations: 342.8 kB / 1.294 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.4156, allocations: 0 / 1.294 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001128/0.4167, allocations: 0.63 MB / 1.295 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.4168, allocations: 118.7 kB / 1.295 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.4176, allocations: 0.5955 MB / 1.296 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4177, allocations: 45.7 kB / 1.296 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.4179, allocations: 213.7 kB / 1.296 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.418, allocations: 55.56 kB / 1.296 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.4183, allocations: 185.5 kB / 1.296 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4185, allocations: 362.8 kB / 1.296 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4187, allocations: 123.9 kB / 1.297 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009249/0.4196, allocations: 0.7173 MB / 1.297 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.42, allocations: 312.5 kB / 1.298 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.42, allocations: 0 / 1.298 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006974/0.4207, allocations: 416.9 kB / 1.298 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4207, allocations: 6.875 kB / 1.298 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4207, allocations: 8 kB / 1.298 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4208, allocations: 11.94 kB / 1.298 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4209, allocations: 35.91 kB / 1.298 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4209, allocations: 4 kB / 1.298 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4223, allocations: 123.9 kB / 1.298 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.4223, allocations: 20 kB / 1.298 GB, free: 4.828 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003719/0.4227, allocations: 261.6 kB / 1.298 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.4227, allocations: 43.72 kB / 1.298 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-05/0.4228, allocations: 55.3 kB / 1.299 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4229, allocations: 4 kB / 1.299 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.4229, allocations: 4 kB / 1.299 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4229, allocations: 0 / 1.299 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.4233, allocations: 384.3 kB / 1.299 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4233, allocations: 0.75 kB / 1.299 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.4233, allocations: 4 kB / 1.299 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.4233, allocations: 4 kB / 1.299 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.4234, allocations: 15.86 kB / 1.299 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4234, allocations: 4 kB / 1.299 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4234, allocations: 0 / 1.299 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.4241, allocations: 0.5236 MB / 1.299 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/0.4242, allocations: 47.75 kB / 1.3 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.4243, allocations: 11.94 kB / 1.3 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.4244, allocations: 11.98 kB / 1.3 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.4245, allocations: 31.95 kB / 1.3 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.4246, allocations: 16 kB / 1.3 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000535/0.4251, allocations: 427.1 kB / 1.3 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4251, allocations: 4 kB / 1.3 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005321/0.4256, allocations: 115.9 kB / 1.3 GB, free: 2.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001265/0.4269, allocations: 1.108 MB / 1.301 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006828/0.4276, allocations: 340.7 kB / 1.302 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4276, allocations: 0 / 1.302 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.4278, allocations: 163.8 kB / 1.302 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4282, allocations: 46.64 kB / 1.302 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/0.4342, allocations: 4.413 MB / 1.306 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.4347, allocations: 0.835 MB / 1.307 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.435, allocations: 102.8 kB / 1.307 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.4352, allocations: 131.4 kB / 1.307 GB, free: 11.45 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/0.4352, allocations: 0 / 1.307 GB, free: 11.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.4854, allocations: 11.86 MB / 1.319 GB, free: 15.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.41, allocations: 5.625 kB / 1.319 GB, free: 15.88 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.18094084400218] Failed to read output from testmodel.py, exit status != 0: 12.583768273005262 12.60073693 12.189032359 Calling exit ...