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.001897/0.001897, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002423/0.002423, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.625/1.625, allocations: 230.6 MB / 256 MB, free: 7.801 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.378/3.378, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002056/0.002056, allocations: 71.72 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.008502/0.3643, allocations: 4.151 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.5492, allocations: 132.6 MB / 1.459 GB, free: 8.594 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.5506, allocations: 23.81 kB / 1.459 GB, free: 8.57 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.5517, allocations: 190.3 kB / 1.459 GB, free: 8.383 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.5544, allocations: 0.5192 MB / 1.46 GB, free: 7.863 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.5572, allocations: 0.779 MB / 1.461 GB, free: 7.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002449/0.5597, allocations: 1.257 MB / 1.462 GB, free: 5.828 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.5607, allocations: 327.4 kB / 1.462 GB, free: 5.488 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.5617, allocations: 434.5 kB / 1.463 GB, free: 5.062 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.5623, allocations: 410 kB / 1.463 GB, free: 4.66 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.5625, allocations: 100 kB / 1.463 GB, free: 4.562 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5636, allocations: 399.7 kB / 1.463 GB, free: 4.172 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.5639, allocations: 263.2 kB / 1.464 GB, free: 3.914 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.5643, allocations: 402 kB / 1.464 GB, free: 3.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.5665, allocations: 1.451 MB / 1.465 GB, free: 2.062 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5665, allocations: 0 / 1.465 GB, free: 2.062 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5665, allocations: 0 / 1.465 GB, free: 2.062 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.5666, allocations: 0 / 1.465 GB, free: 2.062 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.002618/0.5692, allocations: 1.262 MB / 1.467 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5692, allocations: 12.02 kB / 1.467 GB, free: 0.75 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.57, allocations: 144.2 kB / 1.467 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.5714, allocations: 0.659 MB / 1.467 GB, free: 15.92 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.5714, allocations: 54 kB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-05/0.5715, allocations: 64 kB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.573, allocations: 1.031 MB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.573, allocations: 3.938 kB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.5731, allocations: 31.98 kB / 1.469 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.5731, allocations: 16 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5745, allocations: 0.9298 MB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00355/0.5781, allocations: 2.135 MB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.5793, allocations: 0.6437 MB / 1.472 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.5797, allocations: 231.6 kB / 1.472 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.455e-05/0.5798, allocations: 24.62 kB / 1.472 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007463/0.5806, allocations: 479.3 kB / 1.473 GB, free: 10.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 3.567e-06/0.5806, allocations: 0 / 1.473 GB, free: 10.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001722/0.5823, allocations: 0.8332 MB / 1.474 GB, free: 9.227 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.5824, allocations: 248 kB / 1.474 GB, free: 8.93 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.5833, allocations: 0.5978 MB / 1.475 GB, free: 8.32 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.5834, allocations: 41.7 kB / 1.475 GB, free: 8.273 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.5838, allocations: 368.9 kB / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.584, allocations: 242 kB / 1.475 GB, free: 7.668 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.5842, allocations: 150.6 kB / 1.475 GB, free: 7.516 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5844, allocations: 378.8 kB / 1.476 GB, free: 7.137 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.5849, allocations: 226 kB / 1.476 GB, free: 6.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.5855, allocations: 487.6 kB / 1.476 GB, free: 6.379 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.5864, allocations: 0.5293 MB / 1.477 GB, free: 5.832 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5864, allocations: 0 / 1.477 GB, free: 5.832 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001262/0.5877, allocations: 0.6844 MB / 1.478 GB, free: 5.141 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5877, allocations: 8 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5877, allocations: 4 kB / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.5877, allocations: 4 kB / 1.478 GB, free: 5.125 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.5883, allocations: 139.8 kB / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.5883, allocations: 4 kB / 1.478 GB, free: 4.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.5889, allocations: 83.62 kB / 1.478 GB, free: 4.902 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.589, allocations: 39.97 kB / 1.478 GB, free: 4.863 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.0004142/0.5894, allocations: 263.9 kB / 1.478 GB, free: 4.594 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.5896, allocations: 79.48 kB / 1.478 GB, free: 4.516 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.5912, allocations: 0.8406 MB / 1.479 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5912, allocations: 8 kB / 1.479 GB, free: 3.656 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5912, allocations: 0 / 1.479 GB, free: 3.656 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.5912, allocations: 7.922 kB / 1.479 GB, free: 3.648 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5923, allocations: 0.7489 MB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5923, allocations: 4 kB / 1.48 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.5928, allocations: 119.9 kB / 1.48 GB, free: 2.738 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5928, allocations: 7.938 kB / 1.48 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.5928, allocations: 23.98 kB / 1.48 GB, free: 2.707 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.5929, allocations: 19.84 kB / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5929, allocations: 0 / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5941, allocations: 0.732 MB / 1.481 GB, free: 1.934 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.5945, allocations: 179.2 kB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5946, allocations: 20 kB / 1.481 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.5951, allocations: 57.59 kB / 1.481 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.5953, allocations: 64.53 kB / 1.481 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.5953, allocations: 31.98 kB / 1.481 GB, free: 1.586 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005783/0.5959, allocations: 435 kB / 1.481 GB, free: 1.164 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5959, allocations: 0 / 1.481 GB, free: 1.164 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008271/0.5968, allocations: 283.3 kB / 1.482 GB, free: 0.8867 MB / 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.002102/0.5989, allocations: 0.6346 MB / 1.482 GB, free: 464 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.6, allocations: 0.5598 MB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6, allocations: 4.25 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.6005, allocations: 303.6 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6016, allocations: 263.1 kB / 1.483 GB, free: 15.36 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.6044, allocations: 1.463 MB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.6049, allocations: 381.3 kB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007831/0.6057, allocations: 250 kB / 1.485 GB, free: 13.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6059, allocations: 111.3 kB / 1.485 GB, free: 13.11 MB / 1.186 GB Notification: Performance of SimCode: time 1.372e-06/0.6059, allocations: 0 / 1.485 GB, free: 13.11 MB / 1.186 GB Notification: Performance of Templates: time 0.02589/0.6318, allocations: 13.81 MB / 1.499 GB, free: 15.54 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 -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/jenkins/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.207570560276508]