Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008708/0.0008708, 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.0008752/0.0008752, 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.8985/0.8985, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.12 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.TimeTable,fileNamePrefix="Buildings_11_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_11_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.224e-06/2.224e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.839e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001223/0.001241, allocations: 0.6724 MB / 0.9512 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002567, allocations: 1.35 MB / 0.9525 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.00263, allocations: 7.938 kB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.003042, allocations: 179.5 kB / 0.9527 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.003119, allocations: 111.6 kB / 0.9528 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.003613, allocations: 248.3 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.004135, allocations: 483.8 kB / 0.9535 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.004171, allocations: 0 / 0.9535 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.004357, allocations: 251.7 kB / 0.9537 GB, free: 236 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.004604, allocations: 219.6 kB / 0.9539 GB, free: 16 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.00466, allocations: 20.05 kB / 0.9539 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.00482, allocations: 107.7 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.005045, allocations: 271.5 kB / 0.9543 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.692e-05/0.005142, allocations: 119.7 kB / 0.9544 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.005536, allocations: 0.526 MB / 0.9549 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005539, allocations: 4 kB / 0.9549 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00554, allocations: 0 / 0.9549 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.005544, allocations: 0 / 0.9549 GB, free: 14.98 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.0006606/0.006205, allocations: 0.5746 MB / 0.9555 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.006241, allocations: 8.031 kB / 0.9555 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.006273, allocations: 34.75 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.006362, allocations: 36.78 kB / 0.9556 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.006721, allocations: 317.9 kB / 0.9559 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.006738, allocations: 16.36 kB / 0.9559 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.006779, allocations: 20.38 kB / 0.9559 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.006991, allocations: 184.6 kB / 0.9561 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.006997, allocations: 8.125 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.00701, allocations: 384 / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.007016, allocations: 4.125 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.007135, allocations: 115.9 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.007388, allocations: 298.3 kB / 0.9565 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.007701, allocations: 315.6 kB / 0.9568 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.007819, allocations: 122.6 kB / 0.9569 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.007827, allocations: 4 kB / 0.9569 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.008125, allocations: 279.7 kB / 0.9572 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.008126, allocations: 0 / 0.9572 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0005588/0.008685, allocations: 0.5013 MB / 0.9577 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.008741, allocations: 118.7 kB / 0.9578 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.00902, allocations: 396.5 kB / 0.9582 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.00906, allocations: 37.7 kB / 0.9582 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.009155, allocations: 156.8 kB / 0.9583 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.009188, allocations: 39.75 kB / 0.9584 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.009297, allocations: 113.6 kB / 0.9585 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.00939, allocations: 342.8 kB / 0.9588 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.009474, allocations: 83.95 kB / 0.9589 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.01019, allocations: 1.099 MB / 0.96 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.0104, allocations: 261.4 kB / 0.9602 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.0104, allocations: 4 kB / 0.9602 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003286/0.01073, allocations: 329 kB / 0.9605 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01075, allocations: 8 kB / 0.9605 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01075, allocations: 4 kB / 0.9605 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01077, allocations: 8.344 kB / 0.9606 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01089, allocations: 35.86 kB / 0.9606 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.0109, allocations: 4 kB / 0.9606 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.01128, allocations: 75.52 kB / 0.9607 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01129, allocations: 15.98 kB / 0.9607 GB, free: 8.496 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.0001556/0.01145, allocations: 187.8 kB / 0.9609 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.01148, allocations: 35.8 kB / 0.9609 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.01153, allocations: 33.95 kB / 0.9609 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01153, allocations: 7.875 kB / 0.9609 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.01154, allocations: 8 kB / 0.9609 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01154, allocations: 0 / 0.9609 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.01172, allocations: 232.6 kB / 0.9612 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01172, allocations: 4 kB / 0.9612 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-06/0.01173, allocations: 3.984 kB / 0.9612 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01173, allocations: 4 kB / 0.9612 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01175, allocations: 4 kB / 0.9612 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.01175, allocations: 7.938 kB / 0.9612 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01175, allocations: 0 / 0.9612 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.01212, allocations: 434.4 kB / 0.9616 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.01214, allocations: 23.91 kB / 0.9616 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.01217, allocations: 3.984 kB / 0.9616 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.01222, allocations: 15.92 kB / 0.9616 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.01226, allocations: 15.98 kB / 0.9617 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.01228, allocations: 11.98 kB / 0.9617 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001973/0.01248, allocations: 291 kB / 0.9619 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01248, allocations: 0 / 0.9619 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002563/0.01273, allocations: 75.92 kB / 0.962 GB, free: 7.055 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.0006424/0.01338, allocations: 1.003 MB / 0.963 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01367, allocations: 259.6 kB / 0.9632 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01367, allocations: 0 / 0.9632 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.01379, allocations: 120.7 kB / 0.9634 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01399, allocations: 28.59 kB / 0.9634 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.01646, allocations: 3.257 MB / 0.9666 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.772e-05/0.01656, allocations: 153.2 kB / 0.9667 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.164e-05/0.01664, allocations: 49.94 kB / 0.9668 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.01696, allocations: 84.47 kB / 0.9668 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/0.01696, allocations: 0 / 0.9668 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.03876, allocations: 8.759 MB / 0.9754 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.917, allocations: 4 kB / 0.9754 GB, free: 9.395 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.851505528204143]