Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008552/0.0008552, 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.0008922/0.0008922, 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.9186/0.9186, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.702/1.702, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_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.695e-06/2.695e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.898e-05, allocations: 6.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00134/0.001379, allocations: 0.6827 MB / 0.9816 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002673, allocations: 1.353 MB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.002733, allocations: 0 / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.003136, allocations: 191.4 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.003206, allocations: 103.7 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.00371, allocations: 237.6 kB / 0.9835 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.004088, allocations: 487.7 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.004127, allocations: 11.92 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.004318, allocations: 247.7 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.004571, allocations: 215.6 kB / 0.9844 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.004623, allocations: 20 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.004803, allocations: 107.8 kB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/0.005036, allocations: 275.5 kB / 0.9848 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.005131, allocations: 115.7 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.005532, allocations: 0.5183 MB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005536, allocations: 7.938 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005537, allocations: 0 / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.005543, allocations: 4 kB / 0.9854 GB, free: 14.02 MB / 0.948 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.000683/0.006226, allocations: 0.5591 MB / 0.9859 GB, free: 13.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.006263, allocations: 15.97 kB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.006296, allocations: 38.75 kB / 0.986 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.006381, allocations: 36.8 kB / 0.986 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.00672, allocations: 317.8 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006735, allocations: 12.38 kB / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.006774, allocations: 24.36 kB / 0.9864 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.006981, allocations: 196.6 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.006988, allocations: 192 / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.007001, allocations: 8.312 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.007007, allocations: 4.125 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.00712, allocations: 107.9 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.00737, allocations: 290.4 kB / 0.9869 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.007685, allocations: 319.6 kB / 0.9873 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.007801, allocations: 122.5 kB / 0.9874 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.00781, allocations: 4 kB / 0.9874 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.008099, allocations: 281.6 kB / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.0081, allocations: 0 / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0005405/0.00864, allocations: 0.4972 MB / 0.9881 GB, free: 11.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.008691, allocations: 110.8 kB / 0.9882 GB, free: 10.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.008957, allocations: 400.5 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.008994, allocations: 37.7 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.009082, allocations: 152.8 kB / 0.9888 GB, free: 10.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.009115, allocations: 43.73 kB / 0.9888 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.009213, allocations: 117.5 kB / 0.989 GB, free: 10.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.0093, allocations: 346.8 kB / 0.9893 GB, free: 9.793 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.009381, allocations: 87.95 kB / 0.9894 GB, free: 9.707 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.009827, allocations: 1.091 MB / 0.9904 GB, free: 8.336 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.01001, allocations: 249.5 kB / 0.9907 GB, free: 8.043 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.01002, allocations: 4 kB / 0.9907 GB, free: 8.039 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002989/0.01031, allocations: 321.1 kB / 0.991 GB, free: 7.719 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01033, allocations: 8 kB / 0.991 GB, free: 7.711 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01034, allocations: 4.625 kB / 0.991 GB, free: 7.707 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01035, allocations: 12.33 kB / 0.991 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01045, allocations: 39.98 kB / 0.991 GB, free: 7.656 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.01046, allocations: 7.938 kB / 0.991 GB, free: 7.648 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.01081, allocations: 76.03 kB / 0.9911 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.01082, allocations: 12 kB / 0.9911 GB, free: 7.562 MB / 0.948 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.0001318/0.01095, allocations: 195.7 kB / 0.9913 GB, free: 7.363 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.01098, allocations: 35.81 kB / 0.9914 GB, free: 7.328 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.01102, allocations: 29.95 kB / 0.9914 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.01102, allocations: 7.938 kB / 0.9914 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01103, allocations: 0 / 0.9914 GB, free: 7.289 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01103, allocations: 7.984 kB / 0.9914 GB, free: 7.281 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.01118, allocations: 224.6 kB / 0.9916 GB, free: 7.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01118, allocations: 3.938 kB / 0.9916 GB, free: 7.016 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/0.01119, allocations: 11.94 kB / 0.9916 GB, free: 7.004 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01119, allocations: 7.984 kB / 0.9916 GB, free: 6.996 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.0112, allocations: 4 kB / 0.9916 GB, free: 6.992 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0112, allocations: 3.938 kB / 0.9916 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01121, allocations: 4 kB / 0.9916 GB, free: 6.984 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.01155, allocations: 426.5 kB / 0.9921 GB, free: 6.543 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.01158, allocations: 31.8 kB / 0.9921 GB, free: 6.512 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.0116, allocations: 4 kB / 0.9921 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.01165, allocations: 7.938 kB / 0.9921 GB, free: 6.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.01168, allocations: 19.91 kB / 0.9921 GB, free: 6.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.0117, allocations: 16 kB / 0.9921 GB, free: 6.465 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001804/0.01188, allocations: 287 kB / 0.9924 GB, free: 6.184 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01188, allocations: 3.938 kB / 0.9924 GB, free: 6.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000248/0.01213, allocations: 83.86 kB / 0.9925 GB, free: 6.098 MB / 0.948 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.0005922/0.01272, allocations: 0.9995 MB / 0.9935 GB, free: 5.066 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.01299, allocations: 251.6 kB / 0.9937 GB, free: 4.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01299, allocations: 0 / 0.9937 GB, free: 4.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.0131, allocations: 120.7 kB / 0.9938 GB, free: 4.703 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01328, allocations: 28.89 kB / 0.9938 GB, free: 4.676 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.01557, allocations: 3.25 MB / 0.997 GB, free: 1.227 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.01566, allocations: 157.2 kB / 0.9972 GB, free: 1.059 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.01573, allocations: 50.12 kB / 0.9972 GB, free: 1.008 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.01582, allocations: 84.45 kB / 0.9973 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.01582, allocations: 0 / 0.9973 GB, free: 0.9258 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.03505, allocations: 8.76 MB / 1.006 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.14, allocations: 0 / 1.006 GB, free: 8.469 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.161241286434233]