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.00186/0.00186, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002453/0.002453, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 8.074 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.42/3.42, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.002164/0.002164, allocations: 71.11 kB / 1.153 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 176.1 MB / 1.325 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006995/0.3615, allocations: 4.149 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1933/0.5549, allocations: 132.6 MB / 1.459 GB, free: 8.609 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5561, allocations: 23.81 kB / 1.459 GB, free: 8.586 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.5571, allocations: 182.3 kB / 1.459 GB, free: 8.406 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.5594, allocations: 0.5247 MB / 1.46 GB, free: 7.883 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.5617, allocations: 0.779 MB / 1.461 GB, free: 7.113 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.5637, allocations: 1.265 MB / 1.462 GB, free: 5.844 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008337/0.5645, allocations: 315.4 kB / 1.462 GB, free: 5.516 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008742/0.5654, allocations: 450.5 kB / 1.462 GB, free: 5.074 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.5665, allocations: 394.1 kB / 1.463 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.567, allocations: 103.9 kB / 1.463 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.5684, allocations: 403.7 kB / 1.463 GB, free: 4.191 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.5689, allocations: 263.1 kB / 1.464 GB, free: 3.934 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008804/0.5698, allocations: 390 kB / 1.464 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.573, allocations: 1.463 MB / 1.465 GB, free: 2.082 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.573, allocations: 0 / 1.465 GB, free: 2.082 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.103e-06/0.573, allocations: 0 / 1.465 GB, free: 2.082 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.976e-05/0.573, allocations: 0 / 1.465 GB, free: 2.082 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.003474/0.5765, allocations: 1.262 MB / 1.467 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5765, allocations: 8.031 kB / 1.467 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.5774, allocations: 140.2 kB / 1.467 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.5791, allocations: 0.6669 MB / 1.467 GB, free: 15.94 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.5792, allocations: 53.94 kB / 1.467 GB, free: 15.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.5794, allocations: 72 kB / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.5811, allocations: 1.023 MB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.5811, allocations: 0 / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.5812, allocations: 32 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5812, allocations: 16 kB / 1.469 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.5828, allocations: 0.9259 MB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.587, allocations: 2.136 MB / 1.472 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.5883, allocations: 0.6426 MB / 1.472 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.5888, allocations: 235.6 kB / 1.472 GB, free: 10.61 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.5889, allocations: 20.64 kB / 1.472 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008114/0.5897, allocations: 479.3 kB / 1.473 GB, free: 10.09 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 2.995e-06/0.5897, allocations: 0 / 1.473 GB, free: 10.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001778/0.5915, allocations: 0.8333 MB / 1.474 GB, free: 9.25 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.5916, allocations: 247.9 kB / 1.474 GB, free: 8.953 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.5926, allocations: 0.6017 MB / 1.475 GB, free: 8.34 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/0.5927, allocations: 37.7 kB / 1.475 GB, free: 8.297 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.5931, allocations: 372.9 kB / 1.475 GB, free: 7.926 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.5934, allocations: 238 kB / 1.475 GB, free: 7.691 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.5936, allocations: 154.6 kB / 1.475 GB, free: 7.535 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000225/0.5939, allocations: 382.9 kB / 1.476 GB, free: 7.152 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.5943, allocations: 225.9 kB / 1.476 GB, free: 6.93 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.595, allocations: 483.6 kB / 1.476 GB, free: 6.398 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009508/0.596, allocations: 0.5216 MB / 1.477 GB, free: 5.859 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.596, allocations: 0 / 1.477 GB, free: 5.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00142/0.5974, allocations: 0.692 MB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5974, allocations: 4 kB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5974, allocations: 0 / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5974, allocations: 4 kB / 1.478 GB, free: 5.152 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.598, allocations: 147.8 kB / 1.478 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.598, allocations: 11.92 kB / 1.478 GB, free: 4.996 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.5987, allocations: 79.56 kB / 1.478 GB, free: 4.918 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.5988, allocations: 31.98 kB / 1.478 GB, free: 4.887 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.0004803/0.5993, allocations: 264 kB / 1.478 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.5995, allocations: 79.48 kB / 1.478 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.6017, allocations: 0.8445 MB / 1.479 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.6017, allocations: 8 kB / 1.479 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.6017, allocations: 4 kB / 1.479 GB, free: 3.672 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.6017, allocations: 7.922 kB / 1.479 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.6034, allocations: 0.7411 MB / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.6034, allocations: 0 / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.6039, allocations: 127.8 kB / 1.48 GB, free: 2.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.6039, allocations: 4 kB / 1.48 GB, free: 2.754 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.604, allocations: 24.02 kB / 1.48 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.604, allocations: 11.88 kB / 1.48 GB, free: 2.719 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.604, allocations: 0 / 1.48 GB, free: 2.719 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.6056, allocations: 0.7398 MB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.606, allocations: 183.2 kB / 1.481 GB, free: 1.777 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.6062, allocations: 16 kB / 1.481 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.6068, allocations: 59.88 kB / 1.481 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6069, allocations: 60.55 kB / 1.481 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.607, allocations: 39.97 kB / 1.481 GB, free: 1.602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006914/0.6077, allocations: 427.1 kB / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6077, allocations: 0 / 1.481 GB, free: 1.188 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009302/0.6086, allocations: 283.3 kB / 1.482 GB, free: 0.9102 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.002343/0.611, allocations: 0.6369 MB / 1.482 GB, free: 484 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.6122, allocations: 0.556 MB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6122, allocations: 8.312 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.6128, allocations: 295.6 kB / 1.483 GB, free: 15.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6141, allocations: 269.4 kB / 1.483 GB, free: 15.38 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.6175, allocations: 1.459 MB / 1.485 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.6181, allocations: 391.1 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008737/0.6189, allocations: 250 kB / 1.485 GB, free: 13.24 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.6192, allocations: 103.4 kB / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of SimCode: time 1.122e-06/0.6192, allocations: 0 / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of Templates: time 0.02785/0.6471, 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_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: 10.135982494801283]