Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001027/0.001027, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009004/0.0009004, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9126/0.9126, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.647/1.647, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.TimeTableNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.145e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001255/0.001276, allocations: 0.6755 MB / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002573, allocations: 1.35 MB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.002629, allocations: 0 / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.003025, allocations: 187.5 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.003103, allocations: 111.6 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.003592, allocations: 233.4 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.003944, allocations: 487.8 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.003982, allocations: 4 kB / 0.9535 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.004172, allocations: 251.7 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.004431, allocations: 223.7 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.00448, allocations: 20 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.004645, allocations: 95.84 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.004877, allocations: 271.4 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.004972, allocations: 119.7 kB / 0.9544 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.005363, allocations: 0.5259 MB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005365, allocations: 0 / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.493e-06/0.005367, allocations: 4 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.005372, allocations: 3.938 kB / 0.9549 GB, free: 14.93 MB / 0.9167 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.0006557/0.006028, allocations: 0.5708 MB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006065, allocations: 12.03 kB / 0.9555 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.006099, allocations: 38.75 kB / 0.9555 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.006181, allocations: 32.8 kB / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.006527, allocations: 321.8 kB / 0.9559 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.006543, allocations: 16.31 kB / 0.9559 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.006588, allocations: 24.36 kB / 0.9559 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.006805, allocations: 196.6 kB / 0.9561 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.006812, allocations: 192 / 0.9561 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006825, allocations: 4.375 kB / 0.9561 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.006831, allocations: 4.125 kB / 0.9561 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.006946, allocations: 107.9 kB / 0.9562 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.007207, allocations: 298.3 kB / 0.9565 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.007521, allocations: 315.6 kB / 0.9568 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.007636, allocations: 118.6 kB / 0.9569 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-06/0.007644, allocations: 4 kB / 0.9569 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.007962, allocations: 285.5 kB / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.103e-06/0.007963, allocations: 0 / 0.9572 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0005523/0.008515, allocations: 0.4978 MB / 0.9577 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.00857, allocations: 110.8 kB / 0.9578 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.008857, allocations: 400.5 kB / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.008897, allocations: 37.7 kB / 0.9582 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.008988, allocations: 152.8 kB / 0.9583 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.00902, allocations: 43.69 kB / 0.9584 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.009121, allocations: 117.6 kB / 0.9585 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.009206, allocations: 346.7 kB / 0.9588 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.009293, allocations: 87.95 kB / 0.9589 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.009795, allocations: 1.095 MB / 0.96 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.009991, allocations: 253.5 kB / 0.9602 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009994, allocations: 0 / 0.9602 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003231/0.01032, allocations: 329.3 kB / 0.9605 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01033, allocations: 15.92 kB / 0.9605 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01034, allocations: 0 / 0.9605 GB, free: 8.574 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01035, allocations: 12.06 kB / 0.9606 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.01046, allocations: 31.92 kB / 0.9606 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01047, allocations: 4 kB / 0.9606 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.01084, allocations: 76.03 kB / 0.9607 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.01085, allocations: 16 kB / 0.9607 GB, free: 8.438 MB / 0.9167 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.0001463/0.011, allocations: 187.7 kB / 0.9609 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.01103, allocations: 32.05 kB / 0.9609 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.01107, allocations: 33.95 kB / 0.9609 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.01107, allocations: 15.91 kB / 0.9609 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01108, allocations: 0 / 0.9609 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01108, allocations: 4 kB / 0.9609 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.01125, allocations: 228.6 kB / 0.9612 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01125, allocations: 0 / 0.9612 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.01126, allocations: 15.86 kB / 0.9612 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01127, allocations: 4 kB / 0.9612 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01128, allocations: 8 kB / 0.9612 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01128, allocations: 3.938 kB / 0.9612 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01128, allocations: 3.938 kB / 0.9612 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.01166, allocations: 425.2 kB / 0.9616 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.01169, allocations: 27.84 kB / 0.9616 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01171, allocations: 7.938 kB / 0.9616 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.01177, allocations: 11.94 kB / 0.9616 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.01181, allocations: 19.97 kB / 0.9617 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.01183, allocations: 12 kB / 0.9617 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001915/0.01202, allocations: 291 kB / 0.9619 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01202, allocations: 0 / 0.9619 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000253/0.01227, allocations: 79.92 kB / 0.962 GB, free: 6.988 MB / 0.9167 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.0006774/0.01295, allocations: 0.9964 MB / 0.963 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.01324, allocations: 260 kB / 0.9632 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01325, allocations: 0 / 0.9632 GB, free: 5.699 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.01336, allocations: 115.9 kB / 0.9634 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01356, allocations: 24.64 kB / 0.9634 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.01605, allocations: 3.265 MB / 0.9666 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.01615, allocations: 152.4 kB / 0.9667 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.472e-05/0.01624, allocations: 53.88 kB / 0.9668 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.01633, allocations: 88.41 kB / 0.9668 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.01633, allocations: 0 / 0.9668 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.03955, allocations: 8.779 MB / 0.9754 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/6.975, allocations: 13.55 kB / 0.9754 GB, free: 9.316 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.897794310003519]