Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Sources.Examples.DayType.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.001629/0.001629, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002041/0.002041, allocations: 211.1 kB / 23 MB, free: 4.934 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.388/3.388, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayTypMon.y.1.|dayTypSat.y.1.|dayTypTwoWeeks.y.1.|dayTypMonThr.y.1.|dayTypMonThr.y.2.|dayTypMonThr.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayTypMon.y.1.|dayTypSat.y.1.|dayTypTwoWeeks.y.1.|dayTypMonThr.y.1.|dayTypMonThr.y.2.|dayTypMonThr.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.Sources.Examples.DayType") [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.002016/0.002016, allocations: 73.55 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4267, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.0031/0.4298, allocations: 1.426 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.4306, allocations: 267.2 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.4307, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.4308, allocations: 19.8 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.4309, allocations: 15.86 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.4312, allocations: 97.78 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.4316, allocations: 235.9 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.4316, allocations: 9.25 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4317, allocations: 83.81 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.4319, allocations: 103.7 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.4319, allocations: 24 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.432, allocations: 16 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.4321, allocations: 83.78 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.4322, allocations: 83.52 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.4325, allocations: 270.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4325, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4325, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4325, allocations: 0 / 1.33 GB, free: 14.28 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001052/0.4336, allocations: 0.6265 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4336, allocations: 8.031 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.4337, allocations: 28.75 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.4341, allocations: 209.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4341, allocations: 16.66 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.4342, allocations: 20.36 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.4348, allocations: 455.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4348, allocations: 192 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.4348, allocations: 15.88 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4349, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.4353, allocations: 327.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.4359, allocations: 483.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4372, allocations: 1.012 MB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.4381, allocations: 0.6476 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.4381, allocations: 4 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007065/0.4388, allocations: 486.5 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.804e-06/0.4388, allocations: 4 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001676/0.4405, allocations: 1.124 MB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4406, allocations: 144.5 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.4408, allocations: 252.9 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.4409, allocations: 37.7 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.441, allocations: 125.1 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.4411, allocations: 75.56 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.4412, allocations: 110.1 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4414, allocations: 342.8 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.4419, allocations: 328.7 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.4424, allocations: 430.4 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.4434, allocations: 0.7616 MB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4434, allocations: 0 / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001242/0.4446, allocations: 0.833 MB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4446, allocations: 4 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.4447, allocations: 4 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.4447, allocations: 7.938 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4449, allocations: 47.83 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.445, allocations: 4 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.4453, allocations: 39.67 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/0.4456, allocations: 272 kB / 1.339 GB, free: 4.715 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: 45 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002515/0.4459, allocations: 198.2 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.4459, allocations: 23.86 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.446, allocations: 38.11 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.446, allocations: 3.938 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.446, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.4461, allocations: 31.75 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.4461, allocations: 15.98 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4463, allocations: 8 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4464, allocations: 47.92 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001616/0.448, allocations: 1.14 MB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001355/0.4494, allocations: 1.203 MB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000538/0.4499, allocations: 376.8 kB / 1.342 GB, free: 1.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001691/0.4501, allocations: 176.5 kB / 1.342 GB, free: 1.43 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.4501, allocations: 3.938 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.4512, allocations: 482.6 kB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of SimCode: time 0.001747/0.453, allocations: 1.063 MB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of Templates: time 0.01385/0.4668, allocations: 7.842 MB / 1.351 GB, free: 8.168 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Sources.Examples.DayType.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_12_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_12_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_12_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Sources.Examples.DayType_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Sources_Examples_DayType.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Sources.Examples.DayType.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.61145155000122]