Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008156/0.0008156, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8615/0.8615, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.727/1.727, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.272e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001547/0.00157, allocations: 0.653 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.002939, allocations: 1.354 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.002994, allocations: 11.94 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.003397, allocations: 179.5 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.003471, allocations: 107.6 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.003991, allocations: 242.2 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.004381, allocations: 487.8 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.004427, allocations: 7.922 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.004721, allocations: 259.6 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.004999, allocations: 215.6 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.066e-05/0.00505, allocations: 20 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.00523, allocations: 99.77 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.005463, allocations: 279.4 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.005569, allocations: 115.8 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.006003, allocations: 0.526 MB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006006, allocations: 4 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/0.006008, allocations: 0 / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.006013, allocations: 0 / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008997/0.006912, allocations: 0.5669 MB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.006955, allocations: 8.75 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.006993, allocations: 30.75 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.007082, allocations: 36.75 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.007437, allocations: 329.7 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.007452, allocations: 12.38 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.007496, allocations: 16.38 kB / 1.005 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.007714, allocations: 192.6 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.007721, allocations: 8.172 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.007733, allocations: 384 / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.007738, allocations: 4.125 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.007855, allocations: 115.9 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.008102, allocations: 290.4 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.008406, allocations: 311.6 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.008521, allocations: 122.6 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.008529, allocations: 8 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.008814, allocations: 287.2 kB / 1.006 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 8.31e-07/0.008815, allocations: 0 / 1.006 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.000556/0.009371, allocations: 0.5016 MB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.009436, allocations: 114.8 kB / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.009732, allocations: 400.5 kB / 1.007 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.00977, allocations: 41.7 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.009871, allocations: 160.7 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.009903, allocations: 31.8 kB / 1.008 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.01001, allocations: 121.6 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004109/0.01042, allocations: 338.8 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.01051, allocations: 83.95 kB / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.01101, allocations: 1.091 MB / 1.009 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.01121, allocations: 249.5 kB / 1.009 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01121, allocations: 0 / 1.009 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003256/0.01153, allocations: 337 kB / 1.01 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01155, allocations: 8 kB / 1.01 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01155, allocations: 4 kB / 1.01 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01157, allocations: 7.938 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.01166, allocations: 27.92 kB / 1.01 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.01167, allocations: 7.984 kB / 1.01 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.01202, allocations: 76.58 kB / 1.01 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.01204, allocations: 16 kB / 1.01 GB, free: 2.449 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001422/0.01218, allocations: 199.6 kB / 1.01 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.01221, allocations: 27.81 kB / 1.01 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.01225, allocations: 33.95 kB / 1.01 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01225, allocations: 3.938 kB / 1.01 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01226, allocations: 8 kB / 1.01 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.01226, allocations: 7.922 kB / 1.01 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.01243, allocations: 228.6 kB / 1.01 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.01243, allocations: 4 kB / 1.01 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-06/0.01243, allocations: 0 / 1.01 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01244, allocations: 4 kB / 1.01 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01245, allocations: 7.984 kB / 1.01 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01245, allocations: 3.938 kB / 1.01 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.01245, allocations: 0 / 1.01 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.01291, allocations: 430.5 kB / 1.011 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.01293, allocations: 31.84 kB / 1.011 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01295, allocations: 0 / 1.011 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.01301, allocations: 15.88 kB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.01305, allocations: 19.97 kB / 1.011 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.01307, allocations: 8 kB / 1.011 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004803/0.01355, allocations: 291 kB / 1.011 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01355, allocations: 0 / 1.011 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002547/0.01381, allocations: 79.86 kB / 1.011 GB, free: 1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006362/0.01444, allocations: 1 MB / 1.012 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.01472, allocations: 255.6 kB / 1.012 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01473, allocations: 4 kB / 1.012 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01484, allocations: 119.9 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.01502, allocations: 28.64 kB / 1.013 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.01764, allocations: 3.254 MB / 1.016 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.01774, allocations: 157.2 kB / 1.016 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.962e-05/0.01782, allocations: 54.36 kB / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.01791, allocations: 88.45 kB / 1.016 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of SimCode: time 7.71e-07/0.01791, allocations: 0 / 1.016 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.03718, allocations: 8.744 MB / 1.025 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.767, allocations: 3.984 kB / 1.025 GB, free: 3.328 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.698520990088582]