Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.001304/0.001304, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.001442/0.001442, allocations: 216.2 kB / 22.99 MB, free: 4.988 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.217/3.217, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [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.002115/0.002115, allocations: 66.94 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3264, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006343/0.3327, allocations: 4.155 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5094, allocations: 132.6 MB / 1.461 GB, free: 7.734 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007813/0.5102, allocations: 27.75 kB / 1.461 GB, free: 7.707 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.5107, allocations: 182.4 kB / 1.461 GB, free: 7.527 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.5124, allocations: 0.5276 MB / 1.461 GB, free: 7 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.5142, allocations: 0.7754 MB / 1.462 GB, free: 6.23 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.5156, allocations: 1.269 MB / 1.463 GB, free: 4.957 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.5162, allocations: 339.4 kB / 1.464 GB, free: 4.605 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.5168, allocations: 434.5 kB / 1.464 GB, free: 4.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.5173, allocations: 450 kB / 1.464 GB, free: 3.738 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.5175, allocations: 100 kB / 1.465 GB, free: 3.641 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.5183, allocations: 411.7 kB / 1.465 GB, free: 3.238 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.5185, allocations: 255.1 kB / 1.465 GB, free: 2.988 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.5189, allocations: 405.9 kB / 1.466 GB, free: 2.59 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.5207, allocations: 1.455 MB / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5207, allocations: 0 / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5207, allocations: 0 / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.5207, allocations: 0 / 1.467 GB, free: 1.129 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002335/0.5231, allocations: 1.255 MB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5231, allocations: 12.03 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.5238, allocations: 136.2 kB / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.5251, allocations: 0.6668 MB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.5252, allocations: 58 kB / 1.469 GB, free: 14.94 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.5253, allocations: 64 kB / 1.469 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.5268, allocations: 1.023 MB / 1.47 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5268, allocations: 7.938 kB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.5269, allocations: 31.94 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.5269, allocations: 16 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5283, allocations: 0.922 MB / 1.471 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.5317, allocations: 2.133 MB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5329, allocations: 0.6505 MB / 1.474 GB, free: 9.895 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/0.5333, allocations: 231.6 kB / 1.474 GB, free: 9.664 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.5333, allocations: 20.64 kB / 1.474 GB, free: 9.645 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007818/0.5341, allocations: 479.3 kB / 1.475 GB, free: 9.145 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.5341, allocations: 4 kB / 1.475 GB, free: 9.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001618/0.5357, allocations: 0.8371 MB / 1.475 GB, free: 8.297 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.5359, allocations: 240 kB / 1.476 GB, free: 8.008 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.5367, allocations: 0.6017 MB / 1.476 GB, free: 7.395 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/0.5367, allocations: 41.7 kB / 1.476 GB, free: 7.348 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.5371, allocations: 364.9 kB / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.5373, allocations: 242 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.5375, allocations: 154.6 kB / 1.477 GB, free: 6.59 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5377, allocations: 386.7 kB / 1.477 GB, free: 6.203 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.5381, allocations: 221.9 kB / 1.478 GB, free: 5.984 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.5387, allocations: 491.7 kB / 1.478 GB, free: 5.445 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/0.5396, allocations: 0.5176 MB / 1.478 GB, free: 4.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5396, allocations: 0 / 1.478 GB, free: 4.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00121/0.5408, allocations: 0.6843 MB / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5408, allocations: 16.09 kB / 1.479 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.5408, allocations: 0 / 1.479 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5408, allocations: 4 kB / 1.479 GB, free: 4.199 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.5414, allocations: 143.8 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5415, allocations: 7.984 kB / 1.479 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.5421, allocations: 83.62 kB / 1.479 GB, free: 3.969 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.5421, allocations: 31.98 kB / 1.479 GB, free: 3.938 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0003779/0.5425, allocations: 267.9 kB / 1.48 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.5427, allocations: 83.48 kB / 1.48 GB, free: 3.582 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.5443, allocations: 0.8406 MB / 1.481 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.5443, allocations: 8 kB / 1.481 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5443, allocations: 0 / 1.481 GB, free: 2.723 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5444, allocations: 11.92 kB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5454, allocations: 0.745 MB / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5454, allocations: 0 / 1.481 GB, free: 1.926 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.5459, allocations: 123.9 kB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.5459, allocations: 4 kB / 1.481 GB, free: 1.801 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.546, allocations: 27.92 kB / 1.481 GB, free: 1.773 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.546, allocations: 3.938 kB / 1.481 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.546, allocations: 8.031 kB / 1.481 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.5472, allocations: 0.7359 MB / 1.482 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.5476, allocations: 175.2 kB / 1.482 GB, free: 0.832 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.5477, allocations: 19.95 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/0.5483, allocations: 61.91 kB / 1.482 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.5484, allocations: 60.55 kB / 1.483 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.5484, allocations: 31.97 kB / 1.483 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005613/0.549, allocations: 435.1 kB / 1.483 GB, free: 244 kB / 1.17 GB Notification: Performance of sort global known variables: time 2.2e-07/0.549, allocations: 0 / 1.483 GB, free: 244 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007601/0.5498, allocations: 283.4 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002061/0.5518, allocations: 0.6359 MB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.5529, allocations: 0.5559 MB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5529, allocations: 0 / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.5534, allocations: 299.9 kB / 1.485 GB, free: 14.67 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5544, allocations: 275.7 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.557, allocations: 1.455 MB / 1.486 GB, free: 12.95 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.5574, allocations: 387.5 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007197/0.5581, allocations: 253.9 kB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.5584, allocations: 107.3 kB / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of SimCode: time 4.9e-07/0.5584, allocations: 0 / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of Templates: time 0.02501/0.5834, allocations: 14.02 MB / 1.501 GB, free: 14.39 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.241171022993512]