Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001689/0.001689, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001968/0.001968, allocations: 215.5 kB / 23 MB, free: 4.969 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.395/3.395, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [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.002004/0.002004, allocations: 68.61 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4021, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004171/0.4063, allocations: 2.374 MB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.4095, allocations: 1.654 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.4098, allocations: 15.88 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.4104, allocations: 330.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008387/0.4113, allocations: 418.4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.4118, allocations: 287.5 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008998/0.4127, allocations: 0.779 MB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.4129, allocations: 53.83 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.4134, allocations: 342.6 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.4138, allocations: 358.6 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.4139, allocations: 36 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.4141, allocations: 91.92 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.4144, allocations: 207.2 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.4146, allocations: 210.5 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.4155, allocations: 0.7972 MB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4155, allocations: 0 / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4155, allocations: 4 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4156, allocations: 0 / 1.335 GB, free: 9.047 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001805/0.4174, allocations: 0.9855 MB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4174, allocations: 8.031 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.4176, allocations: 80.42 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.4186, allocations: 0.5769 MB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.4187, allocations: 16.36 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.4187, allocations: 19.88 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004649/0.4192, allocations: 201.8 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4192, allocations: 0 / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.4192, allocations: 7.984 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4192, allocations: 4 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.4195, allocations: 119.9 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.421, allocations: 0.9656 MB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.4217, allocations: 276.9 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.422, allocations: 120.2 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.422, allocations: 4 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.4225, allocations: 225.4 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.4225, allocations: 0 / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001095/0.4236, allocations: 464.8 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.4237, allocations: 162.2 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.425, allocations: 1.075 MB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.4251, allocations: 37.7 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.4254, allocations: 308.9 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.4254, allocations: 79.52 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.4256, allocations: 106.1 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4258, allocations: 333.9 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.4261, allocations: 164.9 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.4265, allocations: 280.4 kB / 1.341 GB, free: 2.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.4271, allocations: 380 kB / 1.342 GB, free: 1.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4271, allocations: 8 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001058/0.4282, allocations: 0.5803 MB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4282, allocations: 8 kB / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.4282, allocations: 3.938 kB / 1.342 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.4282, allocations: 8 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.4286, allocations: 96.09 kB / 1.342 GB, free: 1.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.4286, allocations: 11.94 kB / 1.342 GB, free: 1.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.4289, allocations: 47.7 kB / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.429, allocations: 23.98 kB / 1.342 GB, free: 0.9727 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0003477/0.4293, allocations: 266.2 kB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4294, allocations: 87.42 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/0.4303, allocations: 416 kB / 1.343 GB, free: 204 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4303, allocations: 4 kB / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4303, allocations: 4 kB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.4305, allocations: 87.41 kB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.4306, allocations: 19.98 kB / 1.343 GB, free: 88 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4308, allocations: 15.98 kB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.4309, allocations: 27.89 kB / 1.343 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009116/0.4318, allocations: 0.7127 MB / 1.344 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001003/0.4328, allocations: 0.8669 MB / 1.345 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003041/0.4331, allocations: 99.94 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000963/0.4341, allocations: 0.6864 MB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of Backend: time 4.01e-07/0.4341, allocations: 0 / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.4376, allocations: 0.8607 MB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of SimCode: time 0.002712/0.4403, allocations: 1.684 MB / 1.348 GB, free: 11.32 MB / 1.045 GB Notification: Performance of Templates: time 0.01887/0.4592, allocations: 9.672 MB / 1.357 GB, free: 1.781 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 9.589548033996834]