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.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_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.001361/0.001361, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001463/0.001463, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.22 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005726/0.31, allocations: 4.548 MB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6854/0.9955, allocations: 150.5 MB / 1.178 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.9966, allocations: 19.44 kB / 1.178 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.9972, allocations: 175 kB / 1.178 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.9993, allocations: 0.5141 MB / 1.179 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/1.001, allocations: 0.7531 MB / 1.18 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001473/1.003, allocations: 1.254 MB / 1.181 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007803/1.003, allocations: 499.7 kB / 1.181 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/1.004, allocations: 412.9 kB / 1.182 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/1.005, allocations: 431.4 kB / 1.182 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/1.005, allocations: 101 kB / 1.182 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/1.006, allocations: 398.2 kB / 1.183 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/1.006, allocations: 256.1 kB / 1.183 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000443/1.006, allocations: 487.1 kB / 1.183 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/1.008, allocations: 1.4 MB / 1.185 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.008, allocations: 0 / 1.185 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/1.008, allocations: 1.375 kB / 1.185 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.858e-05/1.008, allocations: 4 kB / 1.185 GB, free: 2.984 MB / 0.8887 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.002259/1.01, allocations: 1.273 MB / 1.186 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.01, allocations: 13.22 kB / 1.186 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/1.011, allocations: 105.5 kB / 1.186 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/1.012, allocations: 0.723 MB / 1.187 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/1.012, allocations: 49.47 kB / 1.187 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/1.012, allocations: 63.34 kB / 1.187 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.013, allocations: 0.7754 MB / 1.188 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.013, allocations: 3.938 kB / 1.188 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/1.013, allocations: 28.19 kB / 1.188 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/1.013, allocations: 16.84 kB / 1.188 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/1.015, allocations: 0.9752 MB / 1.189 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/1.018, allocations: 2.457 MB / 1.191 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.019, allocations: 0.6829 MB / 1.192 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/1.019, allocations: 250.4 kB / 1.192 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.981e-05/1.019, allocations: 30.27 kB / 1.192 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/1.02, allocations: 434.4 kB / 1.192 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/1.02, allocations: 0 / 1.192 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.001552/1.022, allocations: 0.8359 MB / 1.193 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.022, allocations: 239.8 kB / 1.193 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/1.022, allocations: 0.6283 MB / 1.194 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/1.023, allocations: 43.77 kB / 1.194 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/1.023, allocations: 359.2 kB / 1.194 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.023, allocations: 232.4 kB / 1.195 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/1.023, allocations: 149.3 kB / 1.195 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.023, allocations: 386 kB / 1.195 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/1.024, allocations: 222.3 kB / 1.195 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/1.024, allocations: 330.9 kB / 1.196 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/1.025, allocations: 0.5227 MB / 1.196 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.025, allocations: 0 / 1.196 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001083/1.026, allocations: 0.6848 MB / 1.197 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.026, allocations: 6.125 kB / 1.197 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.026, allocations: 7.438 kB / 1.197 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/1.026, allocations: 3.516 kB / 1.197 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/1.027, allocations: 146.4 kB / 1.197 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.027, allocations: 4.406 kB / 1.197 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/1.027, allocations: 90.7 kB / 1.197 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/1.027, allocations: 39.5 kB / 1.197 GB, free: 10.29 MB / 0.9044 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.0003484/1.028, allocations: 252.8 kB / 1.197 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.028, allocations: 81.75 kB / 1.197 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.029, allocations: 0.851 MB / 1.198 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.029, allocations: 10.09 kB / 1.198 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.029, allocations: 0 / 1.198 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.029, allocations: 7.922 kB / 1.198 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/1.031, allocations: 0.9664 MB / 1.199 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.031, allocations: 0 / 1.199 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/1.031, allocations: 123.5 kB / 1.199 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.031, allocations: 4.438 kB / 1.199 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/1.031, allocations: 27.7 kB / 1.199 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.031, allocations: 2.312 kB / 1.199 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.031, allocations: 0 / 1.199 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.032, allocations: 0.7372 MB / 1.2 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/1.033, allocations: 256.6 kB / 1.2 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.033, allocations: 21.22 kB / 1.2 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/1.033, allocations: 55.25 kB / 1.2 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.033, allocations: 64.97 kB / 1.2 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/1.033, allocations: 31.55 kB / 1.2 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005175/1.034, allocations: 454.9 kB / 1.201 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.034, allocations: 5.969 kB / 1.201 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007453/1.035, allocations: 267.5 kB / 1.201 GB, free: 7.684 MB / 0.9044 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.00135/1.036, allocations: 0.6014 MB / 1.202 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000995/1.037, allocations: 0.578 MB / 1.202 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.037, allocations: 4 kB / 1.202 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/1.037, allocations: 325.4 kB / 1.203 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/1.038, allocations: 269.5 kB / 1.203 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/1.041, allocations: 1.422 MB / 1.204 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/1.041, allocations: 0.9858 MB / 1.205 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006719/1.042, allocations: 254.7 kB / 1.205 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/1.042, allocations: 99.7 kB / 1.206 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/1.042, allocations: 0 / 1.206 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of Templates: time 0.02156/1.064, allocations: 12.71 MB / 1.218 GB, free: 9.359 MB / 0.92 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 -s gbode -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/jenkins1/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