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.001366/0.001366, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001455/0.001455, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.257/3.257, allocations: 0.4899 GB / 0.7916 GB, free: 33.11 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.002067/0.002067, allocations: 65.84 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4294, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007898/0.4373, allocations: 4.59 MB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2006/0.638, allocations: 153.9 MB / 1.476 GB, free: 3.734 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.6391, allocations: 23.81 kB / 1.476 GB, free: 3.711 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.6398, allocations: 182.3 kB / 1.476 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.6415, allocations: 0.5194 MB / 1.477 GB, free: 3.012 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.6436, allocations: 0.7748 MB / 1.477 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.6451, allocations: 1.269 MB / 1.479 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/0.6458, allocations: 346.9 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.6464, allocations: 438.5 kB / 1.479 GB, free: 188 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005863/0.647, allocations: 438.1 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.6471, allocations: 100 kB / 1.48 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/0.648, allocations: 423.5 kB / 1.48 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.6483, allocations: 271.1 kB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.6488, allocations: 497.4 kB / 1.481 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.6508, allocations: 1.451 MB / 1.483 GB, free: 13.03 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6508, allocations: 4 kB / 1.483 GB, free: 13.03 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6508, allocations: 0 / 1.483 GB, free: 13.03 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.6508, allocations: 0 / 1.483 GB, free: 13.03 MB / 1.186 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.002572/0.6534, allocations: 1.33 MB / 1.484 GB, free: 11.64 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6534, allocations: 11.98 kB / 1.484 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007354/0.6542, allocations: 136.2 kB / 1.484 GB, free: 11.5 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.6554, allocations: 0.739 MB / 1.485 GB, free: 10.72 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.6555, allocations: 53.94 kB / 1.485 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6556, allocations: 60 kB / 1.485 GB, free: 10.61 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6569, allocations: 0.7837 MB / 1.486 GB, free: 9.773 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.657, allocations: 0 / 1.486 GB, free: 9.773 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.657, allocations: 35.98 kB / 1.486 GB, free: 9.738 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.6571, allocations: 20 kB / 1.486 GB, free: 9.719 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.6585, allocations: 0.9689 MB / 1.487 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.6621, allocations: 2.479 MB / 1.489 GB, free: 6.191 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6634, allocations: 0.6486 MB / 1.49 GB, free: 5.52 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.6638, allocations: 231.3 kB / 1.49 GB, free: 5.285 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-05/0.6639, allocations: 28.52 kB / 1.49 GB, free: 5.258 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007217/0.6646, allocations: 426.2 kB / 1.49 GB, free: 4.824 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.184e-06/0.6646, allocations: 0 / 1.49 GB, free: 4.824 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001658/0.6662, allocations: 0.8381 MB / 1.491 GB, free: 3.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.6664, allocations: 255.9 kB / 1.491 GB, free: 3.672 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.6673, allocations: 0.6527 MB / 1.492 GB, free: 3.008 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.6674, allocations: 41.7 kB / 1.492 GB, free: 2.961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.6677, allocations: 365 kB / 1.492 GB, free: 2.598 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.6679, allocations: 234 kB / 1.493 GB, free: 2.367 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.6681, allocations: 158.6 kB / 1.493 GB, free: 2.207 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.6684, allocations: 390.7 kB / 1.493 GB, free: 1.816 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.6688, allocations: 221.9 kB / 1.493 GB, free: 1.598 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.6693, allocations: 333.3 kB / 1.494 GB, free: 1.25 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008785/0.6702, allocations: 0.5212 MB / 1.494 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6702, allocations: 4 kB / 1.494 GB, free: 0.707 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001216/0.6714, allocations: 0.6803 MB / 1.495 GB, free: 20 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6714, allocations: 4 kB / 1.495 GB, free: 16 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6714, allocations: 7.984 kB / 1.495 GB, free: 8 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.6715, allocations: 4 kB / 1.495 GB, free: 4 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.672, allocations: 148 kB / 1.495 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.6721, allocations: 11.94 kB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.6727, allocations: 83.53 kB / 1.495 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.6728, allocations: 35.97 kB / 1.495 GB, free: 15.73 MB / 1.201 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.0003849/0.6732, allocations: 263.3 kB / 1.495 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.6733, allocations: 83.48 kB / 1.495 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.675, allocations: 0.8449 MB / 1.496 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.675, allocations: 15.98 kB / 1.496 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.675, allocations: 3.938 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.675, allocations: 7.984 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.6763, allocations: 0.9716 MB / 1.497 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6763, allocations: 0 / 1.497 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.6767, allocations: 123.8 kB / 1.497 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.6767, allocations: 7.938 kB / 1.497 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.6768, allocations: 31.91 kB / 1.497 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.6768, allocations: 4 kB / 1.497 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6768, allocations: 4.031 kB / 1.497 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.6781, allocations: 0.732 MB / 1.498 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.6784, allocations: 268.2 kB / 1.498 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.6785, allocations: 20 kB / 1.498 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.6791, allocations: 57.5 kB / 1.498 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.6792, allocations: 68.52 kB / 1.499 GB, free: 12.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.6793, allocations: 31.97 kB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006456/0.6799, allocations: 471 kB / 1.499 GB, free: 11.63 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6799, allocations: 0 / 1.499 GB, free: 11.63 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008074/0.6807, allocations: 283.2 kB / 1.499 GB, free: 11.36 MB / 1.201 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.002038/0.6828, allocations: 0.6066 MB / 1.5 GB, free: 10.92 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.6839, allocations: 0.5598 MB / 1.5 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6839, allocations: 0 / 1.5 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.6844, allocations: 299.6 kB / 1.501 GB, free: 10.07 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6857, allocations: 265.5 kB / 1.501 GB, free: 9.824 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.6892, allocations: 1.458 MB / 1.502 GB, free: 8.336 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.69, allocations: 0.9836 MB / 1.503 GB, free: 7.328 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008668/0.6909, allocations: 258.4 kB / 1.504 GB, free: 7.07 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.6911, allocations: 107.4 kB / 1.504 GB, free: 6.969 MB / 1.201 GB Notification: Performance of SimCode: time 1.683e-06/0.6911, allocations: 4 kB / 1.504 GB, free: 6.965 MB / 1.201 GB Notification: Performance of Templates: time 0.02817/0.7193, allocations: 13.12 MB / 1.516 GB, free: 10 MB / 1.217 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 -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/jenkins/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.798092742916197]