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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",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="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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001369/0.001369, allocations: 198.5 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.77 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2449, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003485/0.2484, allocations: 2.53 MB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2508, allocations: 1.571 MB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2511, allocations: 11.88 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.2516, allocations: 295.2 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005269/0.2522, allocations: 311 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.253, allocations: 402.5 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006734/0.2537, allocations: 0.6621 MB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2539, allocations: 77.67 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.2543, allocations: 290.6 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.2546, allocations: 310.7 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.2547, allocations: 12 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.2549, allocations: 71.95 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.2551, allocations: 179.3 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.2553, allocations: 250.1 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.2559, allocations: 0.7202 MB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2559, allocations: 0 / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2559, allocations: 4 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.2559, allocations: 0 / 1.06 GB, free: 0.5195 MB / 0.8106 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.001363/0.2573, allocations: 0.999 MB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2574, allocations: 11.97 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.2574, allocations: 46.73 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2575, allocations: 76 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.2583, allocations: 0.6172 MB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2583, allocations: 20.11 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.2584, allocations: 16 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.2587, allocations: 195.3 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2588, allocations: 0 / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.2588, allocations: 8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2588, allocations: 11.94 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.259, allocations: 95.88 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2602, allocations: 1.059 MB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.2607, allocations: 280.9 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2609, allocations: 108.2 kB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.261, allocations: 11.98 kB / 1.063 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.2614, allocations: 216.1 kB / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.2614, allocations: 0 / 1.063 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0008678/0.2623, allocations: 420.5 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.2623, allocations: 170.2 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2634, allocations: 1.032 MB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2634, allocations: 33.7 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.2636, allocations: 288.9 kB / 1.065 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.2637, allocations: 79.08 kB / 1.065 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.2639, allocations: 142.2 kB / 1.065 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.264, allocations: 326 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.2644, allocations: 213.2 kB / 1.066 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2648, allocations: 311 kB / 1.066 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.2654, allocations: 406.6 kB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2654, allocations: 0 / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001029/0.2664, allocations: 0.6769 MB / 1.067 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2665, allocations: 4 kB / 1.067 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2665, allocations: 4 kB / 1.067 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2665, allocations: 4 kB / 1.067 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.2669, allocations: 119.8 kB / 1.067 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.2669, allocations: 11.94 kB / 1.067 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.2672, allocations: 43.81 kB / 1.067 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-05/0.2672, allocations: 32 kB / 1.068 GB, free: 8.098 MB / 0.8262 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.0002714/0.2675, allocations: 269.6 kB / 1.068 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.2676, allocations: 75.16 kB / 1.068 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2677, allocations: 69.88 kB / 1.068 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2677, allocations: 7.938 kB / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2677, allocations: 0 / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2677, allocations: 0 / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.2682, allocations: 465.1 kB / 1.068 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2682, allocations: 4 kB / 1.068 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.2683, allocations: 31.91 kB / 1.068 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2683, allocations: 0 / 1.068 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2683, allocations: 11.98 kB / 1.068 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.2683, allocations: 11.88 kB / 1.068 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2683, allocations: 0 / 1.068 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.2689, allocations: 389 kB / 1.069 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.2691, allocations: 164.1 kB / 1.069 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.2691, allocations: 8 kB / 1.069 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.2693, allocations: 23.86 kB / 1.069 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.2694, allocations: 23.91 kB / 1.069 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.2694, allocations: 15.98 kB / 1.069 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006524/0.2701, allocations: 0.6083 MB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2701, allocations: 0 / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003851/0.2705, allocations: 108 kB / 1.07 GB, free: 5.738 MB / 0.8262 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.001805/0.2723, allocations: 1.319 MB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006689/0.273, allocations: 401.5 kB / 1.071 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.273, allocations: 0 / 1.071 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.2732, allocations: 107.9 kB / 1.071 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.274, allocations: 197.2 kB / 1.072 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/0.2812, allocations: 6.096 MB / 1.078 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.2817, allocations: 0.9288 MB / 1.079 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.2819, allocations: 108.9 kB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.2822, allocations: 235.3 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.2822, allocations: 0 / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.3043, allocations: 12.86 MB / 1.091 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.3046, allocations: 273.7 kB / 1.092 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.108, allocations: 2.25 kB / 1.092 GB, free: 15.33 MB / 0.8575 GB (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 --timeout=50 --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)