Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.009226/0.009227, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.324/2.324, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.822/3.822, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 69.11 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.006131/0.3739, allocations: 2.467 MB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004505/0.3785, allocations: 1.571 MB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.3791, allocations: 15.88 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009843/0.3802, allocations: 330.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009841/0.3812, allocations: 330.6 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3825, allocations: 447 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.3837, allocations: 0.7051 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.384, allocations: 85.69 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.3847, allocations: 318.7 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.3852, allocations: 322.7 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3853, allocations: 32 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.3856, allocations: 91.95 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.3859, allocations: 187.3 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.3862, allocations: 270.1 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.3872, allocations: 0.7431 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.3872, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3873, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.3873, allocations: 4 kB / 1.095 GB, free: 10.05 MB / 0.8575 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.00208/0.3894, allocations: 0.991 MB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.3894, allocations: 12.03 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.3895, allocations: 42.73 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.3897, allocations: 75.94 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.3909, allocations: 0.6366 MB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3909, allocations: 12.12 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.3909, allocations: 16 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.3914, allocations: 195.1 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3914, allocations: 3.938 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.3914, allocations: 12 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3915, allocations: 4 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3917, allocations: 107.8 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.3933, allocations: 1.052 MB / 1.098 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.394, allocations: 273 kB / 1.099 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.3942, allocations: 112.2 kB / 1.099 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.3943, allocations: 4 kB / 1.099 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.3947, allocations: 224.3 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/0.3947, allocations: 0 / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001026/0.3957, allocations: 408.6 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.3958, allocations: 170.1 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3972, allocations: 1.032 MB / 1.1 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3972, allocations: 41.64 kB / 1.1 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3975, allocations: 292.8 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/0.3976, allocations: 79.14 kB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.3978, allocations: 134.2 kB / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3979, allocations: 330 kB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.3984, allocations: 213.2 kB / 1.101 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.3989, allocations: 308.3 kB / 1.102 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.3996, allocations: 415 kB / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3996, allocations: 0 / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001239/0.4009, allocations: 0.672 MB / 1.103 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4009, allocations: 4 kB / 1.103 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4009, allocations: 4 kB / 1.103 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4009, allocations: 4 kB / 1.103 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.4014, allocations: 119.8 kB / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4014, allocations: 11.98 kB / 1.103 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.4017, allocations: 43.67 kB / 1.103 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.4018, allocations: 27.98 kB / 1.103 GB, free: 1.637 MB / 0.8575 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.000367/0.4022, allocations: 281.2 kB / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.4023, allocations: 71.06 kB / 1.103 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.4025, allocations: 73.89 kB / 1.103 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4025, allocations: 11.92 kB / 1.103 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4025, allocations: 0 / 1.103 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4025, allocations: 3.984 kB / 1.103 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.4031, allocations: 465.1 kB / 1.104 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4031, allocations: 4 kB / 1.104 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.4032, allocations: 23.92 kB / 1.104 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4032, allocations: 4 kB / 1.104 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.4032, allocations: 8 kB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.4032, allocations: 7.938 kB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4032, allocations: 0 / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.4039, allocations: 395.4 kB / 1.104 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.4041, allocations: 156.1 kB / 1.104 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.4042, allocations: 15.98 kB / 1.104 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.4044, allocations: 19.92 kB / 1.104 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.4045, allocations: 19.97 kB / 1.105 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/0.4046, allocations: 16.08 kB / 1.105 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007917/0.4054, allocations: 0.6083 MB / 1.105 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4054, allocations: 0 / 1.105 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004573/0.4058, allocations: 116 kB / 1.105 GB, free: 15.26 MB / 0.8731 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.002094/0.4079, allocations: 1.3 MB / 1.106 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.4088, allocations: 403.6 kB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4088, allocations: 0 / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.409, allocations: 107.8 kB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.41, allocations: 235.9 kB / 1.107 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008967/0.419, allocations: 5.765 MB / 1.113 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.4196, allocations: 0.9285 MB / 1.114 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003629/0.42, allocations: 104.9 kB / 1.114 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.4203, allocations: 231.3 kB / 1.114 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of SimCode: time 7.91e-07/0.4203, allocations: 0 / 1.114 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06709/0.4874, allocations: 13.51 MB / 1.127 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/17.49, allocations: 3.75 kB / 1.127 GB, free: 8.766 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)