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.001282/0.001282, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001551/0.001551, allocations: 220.5 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 0.49 GB / 0.7951 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 74.27 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002086/0.3488, allocations: 0.6705 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.3509, allocations: 1.35 MB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.351, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.3515, allocations: 199.5 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.3516, allocations: 91.73 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008403/0.3525, allocations: 250.2 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.3531, allocations: 483.8 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.3532, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.3535, allocations: 211.6 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.354, allocations: 227.5 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3542, allocations: 24 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3544, allocations: 99.91 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.3549, allocations: 275.4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3552, allocations: 131.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.3558, allocations: 486.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3558, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3558, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.3558, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 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.001294/0.3571, allocations: 0.567 MB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3572, allocations: 15.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.3572, allocations: 38.73 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.3574, allocations: 32.75 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.3581, allocations: 322.5 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3581, allocations: 8.375 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.3582, allocations: 20.38 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3585, allocations: 196.6 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3585, allocations: 3.938 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.3586, allocations: 3.938 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3586, allocations: 3.984 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3588, allocations: 115.9 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3592, allocations: 298.3 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.3597, allocations: 311.6 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.3599, allocations: 126.6 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.3599, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.3604, allocations: 285.5 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/0.3604, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009224/0.3613, allocations: 0.4895 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/0.3614, allocations: 122.7 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.3619, allocations: 396.5 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.362, allocations: 45.69 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3622, allocations: 144.8 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.3622, allocations: 39.78 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.3624, allocations: 117.6 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3626, allocations: 342.8 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3627, allocations: 83.95 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.3636, allocations: 1.091 MB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.3639, allocations: 261.4 kB / 1.335 GB, free: 7.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3639, allocations: 0 / 1.335 GB, free: 7.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005444/0.3645, allocations: 333.4 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3645, allocations: 11.94 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.3645, allocations: 8 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3645, allocations: 4 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.3647, allocations: 27.92 kB / 1.336 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3647, allocations: 16.55 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/0.3656, allocations: 68.17 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3656, allocations: 15.98 kB / 1.336 GB, free: 6.559 MB / 1.029 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.0002767/0.3659, allocations: 196.3 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.3659, allocations: 35.69 kB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.366, allocations: 37.89 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.366, allocations: 0 / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.366, allocations: 8 kB / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.366, allocations: 0 / 1.336 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.3663, allocations: 228.6 kB / 1.336 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3663, allocations: 0 / 1.336 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.3664, allocations: 4 kB / 1.336 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3664, allocations: 7.938 kB / 1.336 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.3664, allocations: 11.98 kB / 1.336 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3664, allocations: 0 / 1.336 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3664, allocations: 4 kB / 1.336 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.367, allocations: 432.1 kB / 1.337 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.3671, allocations: 31.73 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.3672, allocations: 11.98 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.3672, allocations: 0 / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.3673, allocations: 15.98 kB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.3673, allocations: 15.98 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003444/0.3677, allocations: 291 kB / 1.337 GB, free: 5.188 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3677, allocations: 7.938 kB / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004222/0.3681, allocations: 75.94 kB / 1.337 GB, free: 5.105 MB / 1.029 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.001152/0.3693, allocations: 0.9978 MB / 1.338 GB, free: 4.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.3697, allocations: 252.4 kB / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3697, allocations: 0 / 1.339 GB, free: 3.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3699, allocations: 128 kB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3702, allocations: 28.58 kB / 1.339 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3745, allocations: 3.257 MB / 1.342 GB, free: 224 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.3747, allocations: 157.2 kB / 1.342 GB, free: 44 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.3749, allocations: 46.12 kB / 1.342 GB, free: 0 / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3751, allocations: 87.47 kB / 1.342 GB, free: 15.91 MB / 1.045 GB Notification: Performance of SimCode: time 1.493e-06/0.3751, allocations: 0 / 1.342 GB, free: 15.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.4147, allocations: 8.675 MB / 1.351 GB, free: 7.504 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 6.25 kB / 1.351 GB, free: 7.5 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.486874978989363]