Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_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_latest_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.007682/0.007682, allocations: 100.9 kB / 15.73 MB, free: 6.445 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.002044/0.002045, allocations: 193.9 kB / 16.68 MB, free: 6.355 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.418/1.418, 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.0.1-master/package.mo): time 2.962/2.962, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.89 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3121, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00202/0.3142, allocations: 0.8527 MB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3163, allocations: 1.447 MB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3164, allocations: 7.938 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.317, allocations: 195.5 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3171, allocations: 111.6 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3182, allocations: 379 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009707/0.3192, allocations: 0.8738 MB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.3194, allocations: 96.25 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005009/0.3199, allocations: 351.4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.3204, allocations: 259.3 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.3206, allocations: 44 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.3209, allocations: 107.9 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.3214, allocations: 351.2 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.3218, allocations: 270.9 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009045/0.3227, allocations: 0.9078 MB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.3227, allocations: 4 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3227, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.3227, allocations: 0 / 1.213 GB, free: 3.879 MB / 0.9669 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.001847/0.3246, allocations: 0.9016 MB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3246, allocations: 12.56 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.777e-05/0.3247, allocations: 46.73 kB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.3249, allocations: 52.47 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.326, allocations: 0.541 MB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.326, allocations: 24.61 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3261, allocations: 44.3 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3266, allocations: 306.2 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3266, allocations: 3.938 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3267, allocations: 0 / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3267, allocations: 4 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.327, allocations: 227.8 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.3292, allocations: 1.176 MB / 1.217 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.3298, allocations: 467.7 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.3301, allocations: 186.6 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.3301, allocations: 0 / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005635/0.3307, allocations: 329.6 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.3307, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001051/0.3317, allocations: 0.6258 MB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.3318, allocations: 114.8 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.3325, allocations: 0.607 MB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.3327, allocations: 41.7 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3329, allocations: 218.2 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.333, allocations: 47.42 kB / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.3332, allocations: 185.5 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3334, allocations: 358.8 kB / 1.22 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3336, allocations: 131.8 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/0.3344, allocations: 0.7181 MB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.3348, allocations: 296.6 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3348, allocations: 4 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000689/0.3355, allocations: 424.8 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3355, allocations: 8 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3355, allocations: 4 kB / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3355, allocations: 7.938 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3357, allocations: 28.3 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3357, allocations: 20.05 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.3372, allocations: 115.7 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3372, allocations: 16.23 kB / 1.221 GB, free: 11.15 MB / 0.9825 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.000323/0.3375, allocations: 273.6 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.3376, allocations: 47.38 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.578e-05/0.3377, allocations: 47.38 kB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3377, allocations: 7.938 kB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3377, allocations: 0 / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3377, allocations: 7.984 kB / 1.222 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.3381, allocations: 397.4 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3381, allocations: 4 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.3382, allocations: 7.984 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3382, allocations: 0 / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3382, allocations: 4 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3382, allocations: 7.938 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3382, allocations: 3.938 kB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.3389, allocations: 0.5162 MB / 1.223 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3391, allocations: 124.7 kB / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3391, allocations: 11.98 kB / 1.223 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3393, allocations: 15.92 kB / 1.223 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.3394, allocations: 27.97 kB / 1.223 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.3394, allocations: 16 kB / 1.223 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000483/0.3399, allocations: 435 kB / 1.223 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0 / 1.223 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005123/0.3404, allocations: 115.8 kB / 1.223 GB, free: 9.004 MB / 0.9825 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.001092/0.3415, allocations: 1.104 MB / 1.224 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.3421, allocations: 359.3 kB / 1.225 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3421, allocations: 0 / 1.225 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.3424, allocations: 187.8 kB / 1.225 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3427, allocations: 41.95 kB / 1.225 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.3481, allocations: 4.401 MB / 1.229 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3485, allocations: 0.8311 MB / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002827/0.3488, allocations: 99.03 kB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.349, allocations: 131.3 kB / 1.23 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.349, allocations: 0 / 1.23 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03435/0.3834, allocations: 11.78 MB / 1.242 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.615, allocations: 11.92 kB / 1.242 GB, free: 6.09 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches