Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_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_11_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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 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.001184/0.001184, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 63.88 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001829/0.2635, allocations: 0.8586 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2652, allocations: 1.456 MB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.2653, allocations: 4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.2657, allocations: 203.4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2659, allocations: 99.61 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.2667, allocations: 362.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.2675, allocations: 0.8543 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2677, allocations: 100.2 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.268, allocations: 339.5 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.2684, allocations: 267.2 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.2685, allocations: 48 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.2688, allocations: 111.9 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.2692, allocations: 347.3 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.2695, allocations: 274.8 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008191/0.2703, allocations: 0.8964 MB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2703, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2704, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.2704, allocations: 3.938 kB / 1.07 GB, free: 8.02 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001337/0.2717, allocations: 0.8879 MB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.2717, allocations: 12.03 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.2718, allocations: 46.73 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.272, allocations: 52.38 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.2727, allocations: 0.5332 MB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.2727, allocations: 24.61 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2728, allocations: 44.3 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.2733, allocations: 303.4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2733, allocations: 7.938 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2733, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2733, allocations: 8 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.2736, allocations: 223.7 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.2754, allocations: 1.191 MB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.276, allocations: 467.7 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.2762, allocations: 174.6 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.2762, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.2767, allocations: 338.9 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.2767, allocations: 4 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.0009361/0.2776, allocations: 0.6219 MB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.2777, allocations: 122.7 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.2783, allocations: 0.5954 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.2784, allocations: 41.7 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.2787, allocations: 222.6 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.2787, allocations: 51.41 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.279, allocations: 181.5 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2791, allocations: 370.7 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2793, allocations: 127.8 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008102/0.2801, allocations: 0.7068 MB / 1.077 GB, free: 248 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.2805, allocations: 308.5 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2805, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006138/0.2811, allocations: 420.7 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2811, allocations: 8 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2811, allocations: 8.688 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2812, allocations: 7.984 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2813, allocations: 32.17 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2813, allocations: 8 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.2825, allocations: 124.2 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2825, allocations: 16 kB / 1.078 GB, free: 15.28 MB / 0.8419 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.0002734/0.2828, allocations: 269.5 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.2829, allocations: 39.53 kB / 1.078 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.485e-05/0.283, allocations: 55.3 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.283, allocations: 4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.283, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.283, allocations: 4 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.2834, allocations: 401.2 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2834, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.2834, allocations: 4 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2834, allocations: 8 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2834, allocations: 19.91 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2835, allocations: 3.938 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2835, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.2841, allocations: 0.5046 MB / 1.079 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2842, allocations: 136.5 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.2843, allocations: 7.938 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2844, allocations: 23.98 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.2845, allocations: 31.91 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.2845, allocations: 15.98 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004697/0.285, allocations: 431.1 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.285, allocations: 4 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003868/0.2854, allocations: 107.8 kB / 1.08 GB, free: 13.14 MB / 0.8419 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.00101/0.2864, allocations: 1.1 MB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.287, allocations: 372.6 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.287, allocations: 0 / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.2872, allocations: 188 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2875, allocations: 43.64 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.2924, allocations: 4.445 MB / 1.086 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.2928, allocations: 0.8311 MB / 1.087 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002023/0.293, allocations: 90.94 kB / 1.087 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.2932, allocations: 135.4 kB / 1.087 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2932, allocations: 0 / 1.087 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.687/3.98, allocations: 11.47 MB / 1.098 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/16.05, allocations: 11.12 kB / 1.098 GB, free: 10.46 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches