Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007933/0.007933, allocations: 101.7 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.001374/0.001374, allocations: 190.6 kB / 16.67 MB, free: 5.98 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.98 kB / 0.9508 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3183, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006064/0.3244, allocations: 4.262 MB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.4964, allocations: 150.5 MB / 1.239 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.4975, allocations: 15.94 kB / 1.239 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.4983, allocations: 166.5 kB / 1.239 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.5006, allocations: 0.4901 MB / 1.24 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.5027, allocations: 0.7473 MB / 1.24 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.5045, allocations: 1.199 MB / 1.242 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5056, allocations: 0.514 MB / 1.242 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007241/0.5063, allocations: 406.5 kB / 1.243 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007448/0.507, allocations: 418.1 kB / 1.243 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.5073, allocations: 100 kB / 1.243 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008936/0.5082, allocations: 399.7 kB / 1.243 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.5086, allocations: 255.2 kB / 1.244 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006341/0.5092, allocations: 485.4 kB / 1.244 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.5112, allocations: 1.394 MB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5112, allocations: 3.938 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5113, allocations: 0 / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.5113, allocations: 0 / 1.245 GB, free: 15.54 MB / 1.014 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.002955/0.5143, allocations: 1.269 MB / 1.247 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5143, allocations: 8.031 kB / 1.247 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.5148, allocations: 107.7 kB / 1.247 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5161, allocations: 0.7189 MB / 1.248 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.5162, allocations: 50 kB / 1.248 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5163, allocations: 68 kB / 1.248 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5177, allocations: 0.7682 MB / 1.248 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.5177, allocations: 7.938 kB / 1.248 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.5178, allocations: 35.98 kB / 1.248 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.5178, allocations: 16 kB / 1.248 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.5193, allocations: 0.965 MB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00393/0.5232, allocations: 2.47 MB / 1.252 GB, free: 8.824 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5245, allocations: 0.6721 MB / 1.252 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.5249, allocations: 255.2 kB / 1.253 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/0.525, allocations: 32.5 kB / 1.253 GB, free: 7.848 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000635/0.5256, allocations: 422.9 kB / 1.253 GB, free: 7.422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.284e-06/0.5256, allocations: 0 / 1.253 GB, free: 7.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001592/0.5272, allocations: 0.8454 MB / 1.254 GB, free: 6.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.5274, allocations: 243.8 kB / 1.254 GB, free: 6.273 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.5282, allocations: 0.6254 MB / 1.255 GB, free: 5.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.5283, allocations: 37.7 kB / 1.255 GB, free: 5.594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.5286, allocations: 364.4 kB / 1.255 GB, free: 5.234 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.5288, allocations: 220.9 kB / 1.255 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.529, allocations: 154.4 kB / 1.256 GB, free: 4.859 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5292, allocations: 386.9 kB / 1.256 GB, free: 4.473 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.5296, allocations: 221.9 kB / 1.256 GB, free: 4.254 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.5301, allocations: 333.4 kB / 1.256 GB, free: 3.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.5309, allocations: 0.5172 MB / 1.257 GB, free: 3.371 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5309, allocations: 4 kB / 1.257 GB, free: 3.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001177/0.5321, allocations: 0.6799 MB / 1.258 GB, free: 2.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5321, allocations: 4 kB / 1.258 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5321, allocations: 4 kB / 1.258 GB, free: 2.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5322, allocations: 8.156 kB / 1.258 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.5327, allocations: 143.8 kB / 1.258 GB, free: 2.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.5328, allocations: 11.92 kB / 1.258 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.5334, allocations: 88.58 kB / 1.258 GB, free: 2.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.5335, allocations: 27.98 kB / 1.258 GB, free: 2.398 MB / 1.014 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.0003499/0.5338, allocations: 263.4 kB / 1.258 GB, free: 2.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.534, allocations: 87 kB / 1.258 GB, free: 2.047 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.5355, allocations: 0.8407 MB / 1.259 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5356, allocations: 8.109 kB / 1.259 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.5356, allocations: 15.86 kB / 1.259 GB, free: 1.172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5356, allocations: 3.984 kB / 1.259 GB, free: 1.168 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5367, allocations: 0.9636 MB / 1.26 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.5368, allocations: 0 / 1.26 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.5372, allocations: 119.8 kB / 1.26 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.5372, allocations: 7.938 kB / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.6662/1.203, allocations: 28.12 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/1.204, allocations: 3.281 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.204, allocations: 1.375 kB / 1.26 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/1.205, allocations: 0.7293 MB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.205, allocations: 258 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.206, allocations: 23.66 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/1.206, allocations: 55.98 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.206, allocations: 58.25 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.206, allocations: 32.64 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000674/1.207, allocations: 453.3 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.207, allocations: 0.75 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007808/1.208, allocations: 263.5 kB / 1.262 GB, free: 173.9 MB / 1.014 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.001314/1.209, allocations: 0.5979 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.21, allocations: 0.5835 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.21, allocations: 0.5312 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/1.211, allocations: 323.6 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.212, allocations: 267.3 kB / 1.264 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/1.214, allocations: 1.416 MB / 1.265 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/1.215, allocations: 0.9769 MB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007299/1.216, allocations: 251.9 kB / 1.266 GB, free: 172.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.216, allocations: 98.39 kB / 1.266 GB, free: 172.2 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.216, allocations: 0 / 1.266 GB, free: 172.2 MB / 1.014 GB Notification: Performance of Templates: time 0.02515/1.241, allocations: 12.52 MB / 1.279 GB, free: 171.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches