Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001676/0.001676, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001855/0.001855, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.338/3.338, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001964/0.001964, allocations: 64.64 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3781, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.005775/0.3839, allocations: 2.545 MB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.3875, allocations: 1.731 MB / 1.35 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.3879, allocations: 19.75 kB / 1.35 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.3887, allocations: 334.7 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009933/0.3897, allocations: 402.4 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.3904, allocations: 295.4 kB / 1.351 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3916, allocations: 0.7751 MB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.3918, allocations: 54.16 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007621/0.3926, allocations: 366.6 kB / 1.352 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.3932, allocations: 362.6 kB / 1.352 GB, free: 9.594 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3933, allocations: 32 kB / 1.352 GB, free: 9.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.3936, allocations: 95.91 kB / 1.352 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.3938, allocations: 203.2 kB / 1.352 GB, free: 9.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.3942, allocations: 278.1 kB / 1.353 GB, free: 8.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3952, allocations: 0.7778 MB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3952, allocations: 3.938 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3952, allocations: 0 / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.3952, allocations: 0 / 1.353 GB, free: 8.211 MB / 1.045 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.001974/0.3972, allocations: 0.9969 MB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3972, allocations: 8.031 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.1e-05/0.3973, allocations: 4.188 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.3973, allocations: 46.73 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.3975, allocations: 84.38 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3986, allocations: 0.5769 MB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3986, allocations: 15.88 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.3986, allocations: 15.98 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.3991, allocations: 197.8 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3991, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.3991, allocations: 11.98 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3991, allocations: 4 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.3994, allocations: 103.8 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.4011, allocations: 1.027 MB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.4018, allocations: 265 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.402, allocations: 104.2 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.402, allocations: 11.97 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.4024, allocations: 223.4 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.4024, allocations: 0 / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001071/0.4035, allocations: 438 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.4036, allocations: 158.2 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.4051, allocations: 1.079 MB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.4052, allocations: 41.69 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.4054, allocations: 308.8 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4055, allocations: 71.47 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.4058, allocations: 146.2 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4059, allocations: 338 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.4064, allocations: 213.2 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.4069, allocations: 311 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.4077, allocations: 414.5 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4077, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001387/0.4091, allocations: 0.6944 MB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4091, allocations: 4 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/0.4092, allocations: 8.031 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.4092, allocations: 11.88 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.4096, allocations: 111.8 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.4096, allocations: 11.98 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.41, allocations: 43.77 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.4101, allocations: 24 kB / 1.361 GB, free: 15.79 MB / 1.061 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.0003862/0.4104, allocations: 277.6 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.4106, allocations: 79.48 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00089/0.4115, allocations: 376.1 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4115, allocations: 7.938 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4115, allocations: 4 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4115, allocations: 0 / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.4121, allocations: 448.3 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4122, allocations: 4 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.4122, allocations: 23.92 kB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.4122, allocations: 4 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.4123, allocations: 11.98 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.4123, allocations: 7.938 kB / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4123, allocations: 0 / 1.362 GB, free: 14.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.4131, allocations: 391.8 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4132, allocations: 95.39 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.4133, allocations: 8 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.4135, allocations: 23.92 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.4136, allocations: 23.95 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.4136, allocations: 16 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000857/0.4145, allocations: 0.62 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4145, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005553/0.415, allocations: 123.9 kB / 1.364 GB, free: 13.2 MB / 1.061 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * 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.002852/0.4179, allocations: 1.326 MB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.4188, allocations: 379.6 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4188, allocations: 0 / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.419, allocations: 95.83 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.42, allocations: 228.4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.4291, allocations: 5.984 MB / 1.371 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.4297, allocations: 0.9364 MB / 1.372 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003355/0.4301, allocations: 113.1 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.4304, allocations: 259.3 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/0.4304, allocations: 0 / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04144/0.4719, allocations: 14.26 MB / 1.387 GB, free: 5.727 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.23, allocations: 10.06 kB / 1.387 GB, free: 5.719 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.313861672009807] Failed to read output from testmodel.py, exit status != 0: 13.461286562029272 13.486779203 13.086714627 Calling exit ...