Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.001105/0.001105, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 186.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.871/1.871, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.78 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.292, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0023/0.2944, allocations: 0.8723 MB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.2965, allocations: 1.453 MB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.2967, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.2973, allocations: 199.4 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2975, allocations: 111.6 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2985, allocations: 364.6 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009778/0.2995, allocations: 0.8775 MB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.2997, allocations: 112.2 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.3001, allocations: 343.4 kB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.3005, allocations: 263.3 kB / 0.7881 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3006, allocations: 48 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.3009, allocations: 103.9 kB / 0.7882 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.3013, allocations: 343.3 kB / 0.7886 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.3016, allocations: 270.8 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008393/0.3024, allocations: 0.9196 MB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3025, allocations: 0 / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3025, allocations: 0 / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.3025, allocations: 0 / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001522/0.304, allocations: 0.8879 MB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3041, allocations: 12.03 kB / 0.7906 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.3041, allocations: 46.73 kB / 0.7907 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.3043, allocations: 48.47 kB / 0.7907 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.3052, allocations: 0.5448 MB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3053, allocations: 32.59 kB / 0.7913 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.3054, allocations: 36.38 kB / 0.7913 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.3058, allocations: 303.4 kB / 0.7916 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3059, allocations: 3.938 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.3059, allocations: 8 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3059, allocations: 4 kB / 0.7916 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.3063, allocations: 219.8 kB / 0.7918 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.3082, allocations: 1.172 MB / 0.793 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.3089, allocations: 479.8 kB / 0.7934 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.3091, allocations: 178.5 kB / 0.7936 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3091, allocations: 7.984 kB / 0.7936 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.3096, allocations: 336.2 kB / 0.7939 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.3096, allocations: 0 / 0.7939 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001023/0.3107, allocations: 0.6303 MB / 0.7945 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.3107, allocations: 114.8 kB / 0.7946 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.3114, allocations: 0.5954 MB / 0.7952 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.3115, allocations: 45.7 kB / 0.7953 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3117, allocations: 221.5 kB / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.3118, allocations: 47.36 kB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.3121, allocations: 185.5 kB / 0.7957 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3122, allocations: 358.8 kB / 0.796 GB, free: 248 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3124, allocations: 127.9 kB / 0.7962 GB, free: 120 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.3133, allocations: 0.718 MB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3137, allocations: 300.6 kB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.3137, allocations: 4 kB / 0.7971 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000712/0.3144, allocations: 420.6 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3144, allocations: 11.94 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3144, allocations: 4 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.3145, allocations: 8.312 kB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3147, allocations: 40.11 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3147, allocations: 4.234 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.3159, allocations: 126.4 kB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.316, allocations: 16 kB / 0.7978 GB, free: 14.26 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003491/0.3163, allocations: 262.3 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.3164, allocations: 43.44 kB / 0.798 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.225e-05/0.3165, allocations: 51.36 kB / 0.7981 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3165, allocations: 7.938 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3166, allocations: 0 / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3166, allocations: 0 / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.317, allocations: 405.3 kB / 0.7985 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.317, allocations: 4 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.317, allocations: 7.938 kB / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.317, allocations: 0 / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3171, allocations: 11.98 kB / 0.7985 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3171, allocations: 3.938 kB / 0.7985 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3171, allocations: 4 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.3178, allocations: 0.5136 MB / 0.799 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3179, allocations: 128.6 kB / 0.7991 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.318, allocations: 8.094 kB / 0.7991 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3182, allocations: 23.86 kB / 0.7992 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.3182, allocations: 39.89 kB / 0.7992 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.3183, allocations: 8 kB / 0.7992 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000536/0.3188, allocations: 435.1 kB / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3188, allocations: 0 / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000508/0.3193, allocations: 111.9 kB / 0.7997 GB, free: 12.11 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001221/0.3206, allocations: 1.106 MB / 0.8008 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006145/0.3212, allocations: 351.7 kB / 0.8012 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3212, allocations: 0 / 0.8012 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.3215, allocations: 191.8 kB / 0.8013 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3218, allocations: 33.95 kB / 0.8014 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.3274, allocations: 4.406 MB / 0.8057 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.328, allocations: 0.8272 MB / 0.8065 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.3283, allocations: 98.86 kB / 0.8066 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.3285, allocations: 131.8 kB / 0.8067 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.3286, allocations: 0 / 0.8067 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.3624, allocations: 11.49 MB / 0.8179 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.379, allocations: 6.719 kB / 0.8179 GB, free: 9.516 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)