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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001003/0.001003, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 183.1 kB / 16.92 MB, free: 6.918 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005054, allocations: 11.08 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3692, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005484/0.3747, allocations: 4.132 MB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.5416, allocations: 146.6 MB / 1.207 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009544/0.5426, allocations: 19.88 kB / 1.207 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007407/0.5434, allocations: 135 kB / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.5453, allocations: 441 kB / 1.207 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.5472, allocations: 0.6628 MB / 1.208 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001671/0.5489, allocations: 1.148 MB / 1.209 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009455/0.5499, allocations: 486.6 kB / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.5505, allocations: 306.5 kB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.5512, allocations: 330.2 kB / 1.21 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.5514, allocations: 24 kB / 1.21 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.5522, allocations: 299.7 kB / 1.21 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.5525, allocations: 171.2 kB / 1.21 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.553, allocations: 407.2 kB / 1.211 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.5543, allocations: 1.021 MB / 1.212 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5543, allocations: 0 / 1.212 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5543, allocations: 0 / 1.212 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.192e-05/0.5544, allocations: 0 / 1.212 GB, free: 8.227 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.00233/0.5567, allocations: 1.098 MB / 1.213 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5568, allocations: 11.97 kB / 1.213 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.5571, allocations: 107.7 kB / 1.213 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.5581, allocations: 0.6955 MB / 1.214 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.5582, allocations: 54 kB / 1.214 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/0.5583, allocations: 64 kB / 1.214 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5595, allocations: 0.7759 MB / 1.215 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.5596, allocations: 0 / 1.215 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.5597, allocations: 28 kB / 1.215 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.5597, allocations: 20 kB / 1.215 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.5611, allocations: 0.9728 MB / 1.216 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.5645, allocations: 2.507 MB / 1.218 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.5657, allocations: 0.6799 MB / 1.219 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.566, allocations: 247.3 kB / 1.219 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.678e-05/0.5661, allocations: 32.5 kB / 1.219 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006843/0.5668, allocations: 427.5 kB / 1.219 GB, free: 272 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.615e-06/0.5668, allocations: 0 / 1.219 GB, free: 272 kB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001511/0.5683, allocations: 0.83 MB / 1.22 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.5685, allocations: 247.8 kB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/0.5693, allocations: 0.6292 MB / 1.221 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.5694, allocations: 45.8 kB / 1.221 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.5697, allocations: 352.5 kB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.5699, allocations: 228.7 kB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.57, allocations: 65.8 kB / 1.222 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5701, allocations: 390.8 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.5705, allocations: 217.9 kB / 1.222 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.571, allocations: 333.3 kB / 1.223 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.5718, allocations: 0.5212 MB / 1.223 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5718, allocations: 3.938 kB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001112/0.573, allocations: 0.6837 MB / 1.224 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.573, allocations: 5.719 kB / 1.224 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.573, allocations: 8 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.573, allocations: 4 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.5736, allocations: 143.8 kB / 1.224 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.5736, allocations: 11.88 kB / 1.224 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.5743, allocations: 106.9 kB / 1.224 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.5743, allocations: 31.98 kB / 1.224 GB, free: 11.3 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.0004074/0.5748, allocations: 259.4 kB / 1.224 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5749, allocations: 75.06 kB / 1.224 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.5765, allocations: 0.8486 MB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.5765, allocations: 8 kB / 1.225 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5765, allocations: 3.938 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.5765, allocations: 3.984 kB / 1.225 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5778, allocations: 0.9675 MB / 1.226 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5778, allocations: 4.031 kB / 1.226 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.5782, allocations: 123.8 kB / 1.226 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5783, allocations: 7.938 kB / 1.226 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.5783, allocations: 27.97 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5783, allocations: 0 / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5783, allocations: 4 kB / 1.226 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5795, allocations: 0.7238 MB / 1.227 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.5798, allocations: 283.7 kB / 1.227 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.58, allocations: 12 kB / 1.227 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.5806, allocations: 82.11 kB / 1.227 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5807, allocations: 56.58 kB / 1.227 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.5808, allocations: 31.97 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005874/0.5814, allocations: 455 kB / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5814, allocations: 0 / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008391/0.5822, allocations: 275.5 kB / 1.228 GB, free: 6.969 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.0017/0.5839, allocations: 0.6017 MB / 1.229 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.5851, allocations: 0.5833 MB / 1.229 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5851, allocations: 0 / 1.229 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.5856, allocations: 323.6 kB / 1.23 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5869, allocations: 256.3 kB / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.5899, allocations: 1.826 MB / 1.232 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.5906, allocations: 0.9773 MB / 1.233 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.5909, allocations: 115.4 kB / 1.233 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.5909, allocations: 0 / 1.233 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.02246/0.6134, allocations: 13.36 MB / 1.246 GB, free: 5.133 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/jenkins1/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