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.0009874/0.0009876, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006166/0.006167, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 10.06 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002354/0.2472, allocations: 2.16 MB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2494, allocations: 1.536 MB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2495, allocations: 11.88 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.25, allocations: 299.2 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.2505, allocations: 310.9 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.2512, allocations: 409.1 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.2518, allocations: 0.666 MB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.252, allocations: 69.72 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.2523, allocations: 286.6 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.2526, allocations: 314.6 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.2526, allocations: 8 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.2528, allocations: 75.91 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.2529, allocations: 183.3 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2532, allocations: 271.8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.2537, allocations: 0.7084 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2537, allocations: 8 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2537, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2538, allocations: 0 / 1.066 GB, free: 13.53 MB / 0.8262 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.001484/0.2552, allocations: 0.8905 MB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.2553, allocations: 11.97 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.364e-05/0.2554, allocations: 50.73 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2555, allocations: 72 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.2566, allocations: 0.6288 MB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.2566, allocations: 12.12 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.2566, allocations: 12 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.2571, allocations: 199.4 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2571, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2571, allocations: 8 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.2571, allocations: 0 / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.2574, allocations: 103.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.2589, allocations: 1.056 MB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.2595, allocations: 285 kB / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.2597, allocations: 104.2 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2598, allocations: 4 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.2602, allocations: 228.7 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 3.306e-06/0.2602, allocations: 3.984 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25): time 0.0008839/0.2611, allocations: 417.5 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.2612, allocations: 170.1 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2623, allocations: 1.028 MB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2623, allocations: 33.7 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2625, allocations: 292.8 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.2626, allocations: 79.02 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.2627, allocations: 65.69 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2628, allocations: 334 kB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.2631, allocations: 213.2 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.2635, allocations: 303 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.2642, allocations: 411 kB / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2642, allocations: 0 / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001023/0.2652, allocations: 0.6754 MB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2652, allocations: 8 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2653, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2653, allocations: 8.25 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.2657, allocations: 127.8 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2657, allocations: 8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.266, allocations: 47.67 kB / 1.074 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.266, allocations: 27.98 kB / 1.074 GB, free: 5.277 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.0002634/0.2663, allocations: 269.6 kB / 1.074 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.2664, allocations: 71.06 kB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.2665, allocations: 73.89 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2665, allocations: 11.94 kB / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2665, allocations: 0 / 1.074 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2665, allocations: 3.984 kB / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.2669, allocations: 457.2 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2669, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.267, allocations: 23.92 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.267, allocations: 4 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.267, allocations: 8 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.267, allocations: 7.938 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.267, allocations: 0 / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.2676, allocations: 392.3 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2678, allocations: 172.1 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.2679, allocations: 12 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.268, allocations: 31.91 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.2681, allocations: 19.97 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.2681, allocations: 12 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006551/0.2688, allocations: 0.6044 MB / 1.076 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.673e-06/0.2688, allocations: 0 / 1.076 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003815/0.2692, allocations: 111.9 kB / 1.076 GB, free: 2.918 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.001867/0.271, allocations: 1.315 MB / 1.077 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006825/0.2717, allocations: 398.4 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2718, allocations: 8.062 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.272, allocations: 103.8 kB / 1.078 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.273, allocations: 207.8 kB / 1.078 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/0.2803, allocations: 6.093 MB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.2808, allocations: 0.921 MB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.2811, allocations: 120.9 kB / 1.085 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.2813, allocations: 235.3 kB / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of SimCode: time 4.6e-07/0.2814, allocations: 0 / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.3054, allocations: 12.56 MB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.3056, allocations: 265.4 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.332, allocations: 0 / 1.097 GB, free: 12.84 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)