Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007874/0.007874, allocations: 99.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 240.3 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.11 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 157.4 MB / 1.208 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005667/0.3511, allocations: 4.529 MB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.06/1.411, allocations: 150.5 MB / 1.359 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/1.413, allocations: 19.38 kB / 1.359 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/1.414, allocations: 174.4 kB / 1.359 GB, free: 9.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002799/1.417, allocations: 0.5066 MB / 1.36 GB, free: 9.305 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/1.419, allocations: 0.7595 MB / 1.361 GB, free: 8.914 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001837/1.421, allocations: 1.241 MB / 1.362 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/1.422, allocations: 0.4961 MB / 1.362 GB, free: 8.008 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/1.423, allocations: 410.5 kB / 1.363 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005889/1.423, allocations: 430.6 kB / 1.363 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/1.423, allocations: 99.28 kB / 1.363 GB, free: 7.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009465/1.424, allocations: 403.2 kB / 1.364 GB, free: 7.492 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/1.425, allocations: 255 kB / 1.364 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004938/1.425, allocations: 488.1 kB / 1.364 GB, free: 7.008 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/1.427, allocations: 1.406 MB / 1.366 GB, free: 6.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.427, allocations: 0 / 1.366 GB, free: 6.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.427, allocations: 0 / 1.366 GB, free: 6.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.427, allocations: 0 / 1.366 GB, free: 6.41 MB / 1.061 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.002411/1.429, allocations: 1.277 MB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.429, allocations: 10.75 kB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/1.43, allocations: 109.2 kB / 1.367 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.431, allocations: 0.717 MB / 1.368 GB, free: 5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/1.431, allocations: 49.44 kB / 1.368 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/1.431, allocations: 71.5 kB / 1.368 GB, free: 4.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.433, allocations: 0.7759 MB / 1.369 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.433, allocations: 1.562 kB / 1.369 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/1.433, allocations: 27.84 kB / 1.369 GB, free: 4.527 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.433, allocations: 16.75 kB / 1.369 GB, free: 4.527 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/1.434, allocations: 0.9735 MB / 1.37 GB, free: 4.312 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/1.438, allocations: 2.461 MB / 1.372 GB, free: 2.574 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/1.439, allocations: 0.6824 MB / 1.373 GB, free: 2.215 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/1.44, allocations: 251.1 kB / 1.373 GB, free: 2.086 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/1.44, allocations: 29.45 kB / 1.373 GB, free: 2.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/1.441, allocations: 425.3 kB / 1.373 GB, free: 1.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 4.539e-06/1.441, allocations: 112 / 1.373 GB, free: 1.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.00176/1.442, allocations: 0.841 MB / 1.374 GB, free: 1.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/1.443, allocations: 240 kB / 1.374 GB, free: 1.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/1.443, allocations: 0.632 MB / 1.375 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.444, allocations: 42.11 kB / 1.375 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/1.444, allocations: 357.4 kB / 1.375 GB, free: 376 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/1.444, allocations: 226.4 kB / 1.376 GB, free: 176 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/1.444, allocations: 155.9 kB / 1.376 GB, free: 76 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.445, allocations: 384.1 kB / 1.376 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/1.445, allocations: 221.3 kB / 1.376 GB, free: 15.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005682/1.445, allocations: 336.9 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/1.446, allocations: 0.5189 MB / 1.377 GB, free: 15.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.446, allocations: 0 / 1.377 GB, free: 15.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001345/1.448, allocations: 0.685 MB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.448, allocations: 9.812 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.448, allocations: 5.938 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.448, allocations: 4.156 kB / 1.378 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/1.448, allocations: 146.2 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.448, allocations: 9.375 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/1.449, allocations: 87.27 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/1.449, allocations: 33.47 kB / 1.378 GB, free: 14.65 MB / 1.076 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.0004119/1.45, allocations: 258.9 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/1.45, allocations: 80.14 kB / 1.378 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.451, allocations: 0.8432 MB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.451, allocations: 9.094 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.451, allocations: 0 / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.451, allocations: 12.75 kB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.453, allocations: 0.9622 MB / 1.38 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.453, allocations: 4.031 kB / 1.38 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/1.453, allocations: 123.7 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.453, allocations: 4.344 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/1.453, allocations: 27.27 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.453, allocations: 3.25 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.453, allocations: 1.125 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/1.455, allocations: 0.732 MB / 1.381 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/1.455, allocations: 259.8 kB / 1.381 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.455, allocations: 25.66 kB / 1.381 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/1.456, allocations: 55.31 kB / 1.381 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.456, allocations: 65.12 kB / 1.381 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/1.456, allocations: 28.27 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006385/1.457, allocations: 455.1 kB / 1.382 GB, free: 12.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.457, allocations: 4 kB / 1.382 GB, free: 12.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009953/1.458, allocations: 271.6 kB / 1.382 GB, free: 12.05 MB / 1.076 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.001653/1.459, allocations: 0.6064 MB / 1.383 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001285/1.461, allocations: 0.5809 MB / 1.383 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.461, allocations: 1.219 kB / 1.383 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005413/1.461, allocations: 323.4 kB / 1.384 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.462, allocations: 272.1 kB / 1.384 GB, free: 11.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/1.465, allocations: 1.422 MB / 1.385 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/1.466, allocations: 0.9695 MB / 1.386 GB, free: 9.559 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008636/1.467, allocations: 250.3 kB / 1.386 GB, free: 9.434 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/1.467, allocations: 101.8 kB / 1.387 GB, free: 9.398 MB / 1.076 GB Notification: Performance of SimCode: time 9.21e-07/1.467, allocations: 0 / 1.387 GB, free: 9.398 MB / 1.076 GB Notification: Performance of Templates: time 0.02913/1.496, allocations: 13.06 MB / 1.399 GB, free: 2.527 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches