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.005143/0.005143, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.002062/0.002062, allocations: 192 kB / 16.67 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.503/2.503, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2464, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001663/0.2481, allocations: 0.857 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2497, allocations: 1.451 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.2498, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.2502, allocations: 207.4 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2503, allocations: 107.6 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.2512, allocations: 367 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.252, allocations: 0.8777 MB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.2522, allocations: 96.23 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.2525, allocations: 335.5 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.2528, allocations: 271.2 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.253, allocations: 48 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.2532, allocations: 107.9 kB / 1.225 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.2536, allocations: 347.3 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.2539, allocations: 270.8 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008014/0.2547, allocations: 0.9151 MB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2548, allocations: 0 / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2548, allocations: 0 / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2548, allocations: 0 / 1.226 GB, free: 8.043 MB / 0.9825 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.001321/0.2561, allocations: 0.9111 MB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2561, allocations: 12.03 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.2562, allocations: 46.67 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2563, allocations: 52.66 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.257, allocations: 0.5413 MB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.257, allocations: 28.59 kB / 1.228 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.2571, allocations: 36.38 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.2575, allocations: 310.9 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2576, allocations: 3.938 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.2576, allocations: 11.98 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2576, allocations: 4 kB / 1.228 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.2579, allocations: 219.8 kB / 1.228 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.2595, allocations: 1.18 MB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.2601, allocations: 467.8 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.2604, allocations: 178.5 kB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.2604, allocations: 4 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.2608, allocations: 335.9 kB / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.2608, allocations: 0 / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.0009101/0.2617, allocations: 0.6338 MB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.2618, allocations: 118.8 kB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.2624, allocations: 0.5916 MB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.2625, allocations: 45.7 kB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.2627, allocations: 225.5 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.2628, allocations: 48.39 kB / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.263, allocations: 189.5 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2631, allocations: 358.8 kB / 1.233 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.2633, allocations: 131.8 kB / 1.233 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.2642, allocations: 0.711 MB / 1.233 GB, free: 248 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.2645, allocations: 300.6 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2645, allocations: 4 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006172/0.2652, allocations: 417.1 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2652, allocations: 11.94 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2652, allocations: 4 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2652, allocations: 11.92 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2654, allocations: 39.86 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2654, allocations: 4 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.2666, allocations: 132.1 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.2666, allocations: 15.94 kB / 1.234 GB, free: 15.27 MB / 0.9981 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.0002654/0.2669, allocations: 253.7 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.2669, allocations: 47.72 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.267, allocations: 55.34 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.267, allocations: 7.938 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.267, allocations: 0 / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.267, allocations: 256 / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.2674, allocations: 409.2 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2674, allocations: 8 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.2675, allocations: 0 / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2675, allocations: 4 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.2675, allocations: 11.98 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2675, allocations: 3.938 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2675, allocations: 8 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.2681, allocations: 0.5099 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.2682, allocations: 124.9 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.2683, allocations: 4 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2685, allocations: 19.92 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.2685, allocations: 35.97 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2686, allocations: 11.98 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004558/0.269, allocations: 435.1 kB / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.269, allocations: 0 / 1.236 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003651/0.2694, allocations: 115.8 kB / 1.236 GB, free: 13.13 MB / 0.9981 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.0009926/0.2704, allocations: 1.106 MB / 1.237 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.2709, allocations: 359.4 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2709, allocations: 0.75 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.2711, allocations: 195.8 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.2714, allocations: 37.89 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.2761, allocations: 4.419 MB / 1.242 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2765, allocations: 0.8389 MB / 1.243 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.2767, allocations: 94.92 kB / 1.243 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.2769, allocations: 131.4 kB / 1.243 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.2769, allocations: 0 / 1.243 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.093/7.37, allocations: 11.54 MB / 1.255 GB, free: 30.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.883/16.25, allocations: 12.92 kB / 1.255 GB, free: 30.16 MB / 0.9981 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