Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001819/0.001819, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7343 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001522, allocations: 65.14 kB / 0.8986 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3401, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.006675/0.3468, allocations: 4.552 MB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1621/0.509, allocations: 148.3 MB / 1.202 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007479/0.5098, allocations: 15.88 kB / 1.202 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.5103, allocations: 143 kB / 1.202 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5118, allocations: 448.9 kB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.5134, allocations: 0.6861 MB / 1.203 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.5145, allocations: 1.234 MB / 1.204 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.5152, allocations: 0.4908 MB / 1.204 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.5156, allocations: 418.5 kB / 1.205 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.5161, allocations: 422.1 kB / 1.205 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.5162, allocations: 100 kB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000594/0.5168, allocations: 375.7 kB / 1.206 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.5171, allocations: 259.2 kB / 1.206 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.5174, allocations: 489.4 kB / 1.206 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.5187, allocations: 1.371 MB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5188, allocations: 3.938 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5188, allocations: 0 / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.5188, allocations: 0 / 1.208 GB, free: 8.914 MB / 0.9669 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.002042/0.5208, allocations: 1.277 MB / 1.209 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5209, allocations: 8.625 kB / 1.209 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.5212, allocations: 111.7 kB / 1.209 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/0.5221, allocations: 0.6878 MB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.5221, allocations: 54 kB / 1.21 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.5222, allocations: 75.97 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.5235, allocations: 0.7741 MB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5235, allocations: 0 / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.5236, allocations: 35.94 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.5236, allocations: 16 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.525, allocations: 0.965 MB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.5282, allocations: 2.478 MB / 1.214 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.5293, allocations: 0.6926 MB / 1.215 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.5297, allocations: 247.3 kB / 1.215 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.911e-05/0.5298, allocations: 32.52 kB / 1.215 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.5305, allocations: 426.3 kB / 1.215 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 1.993e-06/0.5305, allocations: 0 / 1.215 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001502/0.532, allocations: 0.8377 MB / 1.216 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.5322, allocations: 243.8 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.5329, allocations: 0.6292 MB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.533, allocations: 37.7 kB / 1.217 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.5333, allocations: 364.5 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.5335, allocations: 224.7 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.5337, allocations: 150.5 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5339, allocations: 386.8 kB / 1.218 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.5343, allocations: 221.9 kB / 1.218 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.5347, allocations: 333.5 kB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.5355, allocations: 0.525 MB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5356, allocations: 0 / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0011/0.5367, allocations: 0.6838 MB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5367, allocations: 4 kB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5367, allocations: 4 kB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5367, allocations: 4 kB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.5373, allocations: 143.8 kB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.5373, allocations: 11.94 kB / 1.22 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.5379, allocations: 89.27 kB / 1.22 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.384e-05/0.5379, allocations: 39.97 kB / 1.22 GB, free: 11.76 MB / 0.9825 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.0003296/0.5383, allocations: 249 kB / 1.22 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5384, allocations: 94.89 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.54, allocations: 0.8446 MB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.54, allocations: 8 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.54, allocations: 3.938 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.54, allocations: 3.984 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.5411, allocations: 0.9598 MB / 1.222 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5411, allocations: 4.031 kB / 1.222 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.5417, allocations: 127.8 kB / 1.222 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.5417, allocations: 11.92 kB / 1.222 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.5418, allocations: 19.98 kB / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.5418, allocations: 4 kB / 1.223 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5418, allocations: 3.938 kB / 1.223 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5429, allocations: 0.7354 MB / 1.223 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.5432, allocations: 259.8 kB / 1.223 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5434, allocations: 16 kB / 1.223 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.5439, allocations: 55.94 kB / 1.224 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.544, allocations: 60.56 kB / 1.224 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.5441, allocations: 27.98 kB / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006206/0.5447, allocations: 455 kB / 1.224 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5447, allocations: 4 kB / 1.224 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008774/0.5456, allocations: 271.5 kB / 1.224 GB, free: 7.457 MB / 0.9825 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.001683/0.5473, allocations: 0.6055 MB / 1.225 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.5489, allocations: 0.759 MB / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5489, allocations: 0 / 1.226 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.5494, allocations: 323.9 kB / 1.226 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5504, allocations: 271.9 kB / 1.226 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.5529, allocations: 1.776 MB / 1.228 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.5535, allocations: 0.9768 MB / 1.229 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006768/0.5542, allocations: 246.3 kB / 1.229 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.5544, allocations: 99.39 kB / 1.229 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.5544, allocations: 0 / 1.229 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of Templates: time 0.0204/0.5748, allocations: 12.62 MB / 1.242 GB, free: 6.105 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches