Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.001915/0.001915, 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.00235/0.00235, 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.416/3.416, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") [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.002146/0.002146, allocations: 62.38 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3702, allocations: 176.1 MB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006742/0.3769, allocations: 4.165 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1778/0.5547, allocations: 132.6 MB / 1.461 GB, free: 7.887 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008555/0.5556, allocations: 23.81 kB / 1.461 GB, free: 7.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.5562, allocations: 178.4 kB / 1.461 GB, free: 7.688 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.5578, allocations: 0.5238 MB / 1.461 GB, free: 7.164 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.5597, allocations: 0.7825 MB / 1.462 GB, free: 6.387 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.5611, allocations: 1.265 MB / 1.463 GB, free: 5.117 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006272/0.5617, allocations: 339.4 kB / 1.464 GB, free: 4.766 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.5623, allocations: 446.4 kB / 1.464 GB, free: 4.328 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.5629, allocations: 442 kB / 1.465 GB, free: 3.895 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.563, allocations: 104 kB / 1.465 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007633/0.5638, allocations: 411.7 kB / 1.465 GB, free: 3.391 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.564, allocations: 263.2 kB / 1.465 GB, free: 3.133 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.5644, allocations: 398 kB / 1.466 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.5663, allocations: 1.455 MB / 1.467 GB, free: 1.281 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5663, allocations: 0 / 1.467 GB, free: 1.281 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5663, allocations: 0 / 1.467 GB, free: 1.281 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.5663, allocations: 0 / 1.467 GB, free: 1.281 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.00278/0.5691, allocations: 1.258 MB / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5692, allocations: 12.03 kB / 1.468 GB, free: 15.97 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.57, allocations: 140.2 kB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5713, allocations: 0.6668 MB / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.5713, allocations: 53.98 kB / 1.469 GB, free: 15.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5714, allocations: 68 kB / 1.469 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5729, allocations: 1.023 MB / 1.47 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.573, allocations: 3.938 kB / 1.47 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.5731, allocations: 28 kB / 1.47 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.5731, allocations: 16 kB / 1.47 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.5745, allocations: 0.9298 MB / 1.471 GB, free: 12.91 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.5783, allocations: 2.137 MB / 1.473 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.5797, allocations: 0.6382 MB / 1.474 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.5801, allocations: 231.6 kB / 1.474 GB, free: 9.816 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.5802, allocations: 24.62 kB / 1.474 GB, free: 9.793 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008547/0.581, allocations: 475.9 kB / 1.475 GB, free: 9.297 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/0.581, allocations: 0 / 1.475 GB, free: 9.297 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001686/0.5827, allocations: 0.841 MB / 1.475 GB, free: 8.449 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.5829, allocations: 240 kB / 1.476 GB, free: 8.16 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/0.5837, allocations: 0.5979 MB / 1.476 GB, free: 7.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.5838, allocations: 45.64 kB / 1.476 GB, free: 7.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.5841, allocations: 368.9 kB / 1.477 GB, free: 7.133 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.5843, allocations: 242 kB / 1.477 GB, free: 6.895 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.5847, allocations: 158.6 kB / 1.477 GB, free: 6.734 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.5849, allocations: 378.8 kB / 1.477 GB, free: 6.355 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.5853, allocations: 221.9 kB / 1.478 GB, free: 6.137 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.5859, allocations: 487.6 kB / 1.478 GB, free: 5.602 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.5868, allocations: 0.5255 MB / 1.479 GB, free: 5.059 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5868, allocations: 4 kB / 1.479 GB, free: 5.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001278/0.5881, allocations: 0.6803 MB / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5881, allocations: 8 kB / 1.479 GB, free: 4.359 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5881, allocations: 8.094 kB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.5881, allocations: 4 kB / 1.479 GB, free: 4.348 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.5887, allocations: 143.8 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5888, allocations: 4 kB / 1.479 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.5894, allocations: 81.11 kB / 1.479 GB, free: 4.125 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.5895, allocations: 39.97 kB / 1.479 GB, free: 4.086 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.0004551/0.5899, allocations: 256 kB / 1.48 GB, free: 3.824 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.5901, allocations: 83.47 kB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.5919, allocations: 0.8445 MB / 1.481 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5919, allocations: 8 kB / 1.481 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5919, allocations: 0 / 1.481 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5919, allocations: 11.92 kB / 1.481 GB, free: 2.867 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.593, allocations: 0.7489 MB / 1.481 GB, free: 2.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5931, allocations: 0 / 1.481 GB, free: 2.078 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/0.5935, allocations: 119.9 kB / 1.481 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.5936, allocations: 4 kB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.5936, allocations: 23.98 kB / 1.482 GB, free: 1.934 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5936, allocations: 11.88 kB / 1.482 GB, free: 1.922 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5936, allocations: 4.031 kB / 1.482 GB, free: 1.918 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.5949, allocations: 0.732 MB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.5953, allocations: 175.2 kB / 1.482 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5954, allocations: 19.95 kB / 1.482 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.596, allocations: 59.88 kB / 1.482 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.5961, allocations: 64.53 kB / 1.483 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.5962, allocations: 31.92 kB / 1.483 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005784/0.5968, allocations: 435 kB / 1.483 GB, free: 404 kB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5968, allocations: 4 kB / 1.483 GB, free: 400 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008264/0.5976, allocations: 283.3 kB / 1.483 GB, free: 116 kB / 1.17 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.002192/0.5998, allocations: 0.6386 MB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.6009, allocations: 0.5599 MB / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6009, allocations: 0 / 1.484 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.6014, allocations: 303.8 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6025, allocations: 265.8 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.6052, allocations: 1.463 MB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.6056, allocations: 387.5 kB / 1.487 GB, free: 12.69 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007578/0.6064, allocations: 250 kB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.6067, allocations: 99.33 kB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of SimCode: time 7.92e-07/0.6067, allocations: 0 / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of Templates: time 0.02577/0.6324, allocations: 14.03 MB / 1.501 GB, free: 14.57 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.125406910010497]