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.001389/0.001389, allocations: 78.64 kB / 19.76 MB, free: 2.035 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.001529/0.001529, allocations: 159.3 kB / 23.01 MB, free: 4.941 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.78/2.78, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002428/0.002428, allocations: 63.91 kB / 0.9819 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9496/0.952, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004894/0.9569, allocations: 4.146 MB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1803/1.137, allocations: 132.6 MB / 1.287 GB, free: 5.141 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008654/1.138, allocations: 24.12 kB / 1.287 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/1.139, allocations: 181.6 kB / 1.288 GB, free: 5.004 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/1.141, allocations: 0.5185 MB / 1.288 GB, free: 4.699 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/1.143, allocations: 0.7769 MB / 1.289 GB, free: 4.277 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001677/1.144, allocations: 1.262 MB / 1.29 GB, free: 3.621 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/1.145, allocations: 335.2 kB / 1.29 GB, free: 3.418 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/1.146, allocations: 435.6 kB / 1.291 GB, free: 3.207 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/1.146, allocations: 400 kB / 1.291 GB, free: 3.016 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/1.146, allocations: 99.53 kB / 1.291 GB, free: 3.016 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008832/1.147, allocations: 402.7 kB / 1.292 GB, free: 2.922 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/1.148, allocations: 257.1 kB / 1.292 GB, free: 2.762 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004559/1.148, allocations: 401.6 kB / 1.292 GB, free: 2.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/1.15, allocations: 1.457 MB / 1.294 GB, free: 1.898 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.15, allocations: 0 / 1.294 GB, free: 1.898 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.505e-06/1.15, allocations: 6.094 kB / 1.294 GB, free: 1.895 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.088e-05/1.15, allocations: 0 / 1.294 GB, free: 1.895 MB / 1.139 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.002511/1.153, allocations: 1.253 MB / 1.295 GB, free: 1.047 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.153, allocations: 13.78 kB / 1.295 GB, free: 1.043 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/1.153, allocations: 138 kB / 1.295 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.155, allocations: 0.6678 MB / 1.296 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/1.155, allocations: 50.2 kB / 1.296 GB, free: 0.543 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/1.155, allocations: 64.52 kB / 1.296 GB, free: 0.5234 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.156, allocations: 1.024 MB / 1.297 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/1.156, allocations: 5.188 kB / 1.297 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/1.156, allocations: 28.55 kB / 1.297 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/1.156, allocations: 20.66 kB / 1.297 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.158, allocations: 0.9299 MB / 1.298 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/1.162, allocations: 2.134 MB / 1.3 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.163, allocations: 0.6428 MB / 1.301 GB, free: 13.51 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/1.163, allocations: 234.9 kB / 1.301 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.987e-05/1.163, allocations: 22.73 kB / 1.301 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007835/1.164, allocations: 478.5 kB / 1.301 GB, free: 13.03 MB / 1.154 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/1.164, allocations: 1.469 kB / 1.301 GB, free: 13.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=70): time 0.001693/1.166, allocations: 0.8365 MB / 1.302 GB, free: 12.61 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/1.166, allocations: 239.9 kB / 1.302 GB, free: 12.33 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008587/1.167, allocations: 0.606 MB / 1.303 GB, free: 11.96 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/1.167, allocations: 41.95 kB / 1.303 GB, free: 11.92 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/1.167, allocations: 364.4 kB / 1.303 GB, free: 11.6 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/1.167, allocations: 243 kB / 1.304 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.168, allocations: 155.7 kB / 1.304 GB, free: 11.3 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002265/1.168, allocations: 380.5 kB / 1.304 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/1.168, allocations: 220.8 kB / 1.304 GB, free: 10.83 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/1.169, allocations: 489.1 kB / 1.305 GB, free: 10.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009252/1.17, allocations: 0.519 MB / 1.305 GB, free: 10.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.17, allocations: 1.125 kB / 1.305 GB, free: 10.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001318/1.171, allocations: 0.6872 MB / 1.306 GB, free: 9.793 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.171, allocations: 5.906 kB / 1.306 GB, free: 9.793 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.171, allocations: 5.125 kB / 1.306 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.171, allocations: 5 kB / 1.306 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/1.172, allocations: 145.5 kB / 1.306 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.172, allocations: 4.594 kB / 1.306 GB, free: 9.754 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/1.173, allocations: 85 kB / 1.306 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/1.173, allocations: 38.03 kB / 1.306 GB, free: 9.684 MB / 1.154 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.0004398/1.173, allocations: 255.4 kB / 1.306 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/1.173, allocations: 79.14 kB / 1.307 GB, free: 9.441 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/1.175, allocations: 0.8427 MB / 1.307 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.175, allocations: 8.156 kB / 1.307 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.175, allocations: 5.141 kB / 1.307 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.175, allocations: 7.922 kB / 1.307 GB, free: 8.961 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/1.176, allocations: 0.7498 MB / 1.308 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.176, allocations: 1.125 kB / 1.308 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/1.177, allocations: 126.9 kB / 1.308 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.177, allocations: 3.938 kB / 1.308 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/1.177, allocations: 23.17 kB / 1.308 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/1.177, allocations: 11.55 kB / 1.308 GB, free: 8.332 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.177, allocations: 1.375 kB / 1.308 GB, free: 8.332 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.178, allocations: 0.7309 MB / 1.309 GB, free: 7.941 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/1.178, allocations: 183 kB / 1.309 GB, free: 7.805 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.178, allocations: 18.72 kB / 1.309 GB, free: 7.793 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/1.179, allocations: 63.66 kB / 1.309 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.179, allocations: 60.45 kB / 1.309 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/1.179, allocations: 32.31 kB / 1.309 GB, free: 7.707 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006299/1.18, allocations: 435.2 kB / 1.31 GB, free: 7.453 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.18, allocations: 0 / 1.31 GB, free: 7.453 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000913/1.181, allocations: 277.9 kB / 1.31 GB, free: 7.375 MB / 1.154 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.002146/1.183, allocations: 0.6365 MB / 1.311 GB, free: 7.082 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001146/1.184, allocations: 0.5609 MB / 1.311 GB, free: 6.836 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.184, allocations: 0 / 1.311 GB, free: 6.836 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004917/1.185, allocations: 299.9 kB / 1.311 GB, free: 6.707 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.186, allocations: 258.8 kB / 1.312 GB, free: 6.578 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/1.188, allocations: 1.469 MB / 1.313 GB, free: 5.363 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/1.189, allocations: 389.3 kB / 1.314 GB, free: 4.957 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008052/1.19, allocations: 253.9 kB / 1.314 GB, free: 4.707 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.19, allocations: 108.4 kB / 1.314 GB, free: 4.598 MB / 1.154 GB Notification: Performance of SimCode: time 7.62e-07/1.19, allocations: 0 / 1.314 GB, free: 4.598 MB / 1.154 GB Notification: Performance of Templates: time 0.02719/1.217, allocations: 12.96 MB / 1.327 GB, free: 7.887 MB / 1.17 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 ida -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.539093044004403]