Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001044, allocations: 185.7 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 0.5777 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007916/0.0007917, allocations: 101.3 kB / 0.6823 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005143/0.0005147, allocations: 10.78 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.314, allocations: 106.4 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003298/0.3174, allocations: 2.085 MB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002732/0.3201, allocations: 1.237 MB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.3205, allocations: 11.88 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.3212, allocations: 283.2 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006407/0.3219, allocations: 267 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000999/0.3229, allocations: 305.1 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000744/0.3236, allocations: 0.5529 MB / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.3239, allocations: 73.03 kB / 0.905 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.3243, allocations: 254.7 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.3246, allocations: 266.8 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.3247, allocations: 8 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.3249, allocations: 51.98 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.325, allocations: 159.4 kB / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.3251, allocations: 117.3 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.3256, allocations: 0.538 MB / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3256, allocations: 0 / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3256, allocations: 0 / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.3257, allocations: 0 / 0.9064 GB, free: 57.94 MB / 0.6042 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.001257/0.3269, allocations: 0.8671 MB / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.327, allocations: 12.03 kB / 0.9072 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.3271, allocations: 42.55 kB / 0.9073 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3272, allocations: 75.02 kB / 0.9073 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007556/0.3279, allocations: 0.5541 MB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.328, allocations: 8 kB / 0.9079 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.328, allocations: 19.98 kB / 0.9079 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.3285, allocations: 198.4 kB / 0.9081 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3285, allocations: 0 / 0.9081 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3285, allocations: 11.98 kB / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3285, allocations: 0 / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.3288, allocations: 103.8 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3299, allocations: 1.024 MB / 0.9092 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.3305, allocations: 277 kB / 0.9095 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3307, allocations: 108.2 kB / 0.9096 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3308, allocations: 11.94 kB / 0.9096 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.3312, allocations: 229.6 kB / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.3312, allocations: 0 / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0009866/0.3322, allocations: 412.7 kB / 0.9102 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.3323, allocations: 162.2 kB / 0.9103 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3334, allocations: 0.9888 MB / 0.9113 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.3334, allocations: 37.7 kB / 0.9114 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.3336, allocations: 272.9 kB / 0.9116 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.3337, allocations: 79.08 kB / 0.9117 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.3337, allocations: 16 kB / 0.9117 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3338, allocations: 386.8 kB / 0.9121 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.3342, allocations: 205.2 kB / 0.9123 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.3346, allocations: 303 kB / 0.9126 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.3351, allocations: 236.7 kB / 0.9128 GB, free: 51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3351, allocations: 0 / 0.9128 GB, free: 51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001094/0.3362, allocations: 0.6639 MB / 0.9134 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3362, allocations: 8 kB / 0.9134 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3362, allocations: 3.938 kB / 0.9134 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3363, allocations: 8 kB / 0.9134 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.3367, allocations: 120 kB / 0.9136 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3368, allocations: 8 kB / 0.9136 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.3371, allocations: 39.73 kB / 0.9136 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.3371, allocations: 23.98 kB / 0.9136 GB, free: 50.12 MB / 0.6042 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.3375, allocations: 274.6 kB / 0.9139 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.3376, allocations: 75.02 kB / 0.914 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.3377, allocations: 69.59 kB / 0.914 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3377, allocations: 8 kB / 0.914 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3377, allocations: 4 kB / 0.914 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3377, allocations: 3.984 kB / 0.914 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.3381, allocations: 445.3 kB / 0.9145 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3381, allocations: 4 kB / 0.9145 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.3382, allocations: 23.94 kB / 0.9145 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3382, allocations: 4 kB / 0.9145 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.3382, allocations: 11.94 kB / 0.9145 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3382, allocations: 4 kB / 0.9145 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3382, allocations: 0 / 0.9145 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.3388, allocations: 395.3 kB / 0.9149 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3389, allocations: 160.2 kB / 0.915 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.339, allocations: 11.95 kB / 0.9151 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3392, allocations: 23.98 kB / 0.9151 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3392, allocations: 19.97 kB / 0.9151 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.3393, allocations: 15.98 kB / 0.9151 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005576/0.3398, allocations: 0.5732 MB / 0.9157 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3398, allocations: 0 / 0.9157 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004209/0.3403, allocations: 103.9 kB / 0.9158 GB, free: 47.82 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.3421, allocations: 1.318 MB / 0.9171 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.3428, allocations: 400.8 kB / 0.9174 GB, free: 46.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3429, allocations: 8.062 kB / 0.9174 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3431, allocations: 103.8 kB / 0.9175 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.3441, allocations: 185 kB / 0.9177 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.3496, allocations: 4.282 MB / 0.9219 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.35, allocations: 0.9211 MB / 0.9228 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003458/0.3504, allocations: 109.4 kB / 0.9229 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.3507, allocations: 223.3 kB / 0.9231 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.342e-06/0.3507, allocations: 0 / 0.9231 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3777, allocations: 13.12 MB / 0.9359 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.378, allocations: 254.2 kB / 0.9362 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/2.912, allocations: 4 kB / 0.9362 GB, free: 27.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)