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.0009225/0.0009226, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.00094/0.00094, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.048/3.048, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.000529, allocations: 9.594 kB / 0.9021 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3351, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005191/0.3403, allocations: 3.906 MB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.5064, allocations: 136.8 MB / 1.195 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006422/0.5071, allocations: 11.94 kB / 1.195 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.5077, allocations: 130.9 kB / 1.196 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.509, allocations: 440.3 kB / 1.196 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5105, allocations: 0.5656 MB / 1.196 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.5116, allocations: 1.07 MB / 1.198 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/0.5122, allocations: 342 kB / 1.198 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.5127, allocations: 294.7 kB / 1.198 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.5132, allocations: 322.4 kB / 1.198 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.5134, allocations: 28 kB / 1.198 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.5139, allocations: 275.7 kB / 1.199 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.5141, allocations: 159.3 kB / 1.199 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.5143, allocations: 177.2 kB / 1.199 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009901/0.5153, allocations: 1.009 MB / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5153, allocations: 4 kB / 1.2 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.547e-06/0.5153, allocations: 0 / 1.2 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.5153, allocations: 3.938 kB / 1.2 GB, free: 3.453 MB / 0.9512 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.001996/0.5173, allocations: 1.102 MB / 1.201 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5174, allocations: 11.97 kB / 1.201 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.5177, allocations: 106.8 kB / 1.201 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009948/0.5187, allocations: 0.6642 MB / 1.202 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.5187, allocations: 50 kB / 1.202 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.5188, allocations: 63.94 kB / 1.202 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5201, allocations: 0.7837 MB / 1.203 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5201, allocations: 0 / 1.203 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.5202, allocations: 28 kB / 1.203 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5202, allocations: 20 kB / 1.203 GB, free: 492 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.5216, allocations: 0.9689 MB / 1.204 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.525, allocations: 2.495 MB / 1.206 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.5261, allocations: 0.6837 MB / 1.207 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.5265, allocations: 243.3 kB / 1.207 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.082e-05/0.5266, allocations: 40.45 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/0.5273, allocations: 418.3 kB / 1.208 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.5273, allocations: 0 / 1.208 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.001431/0.5287, allocations: 0.8311 MB / 1.208 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.5289, allocations: 243.8 kB / 1.209 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.5297, allocations: 0.6293 MB / 1.209 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.5297, allocations: 41.7 kB / 1.209 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.53, allocations: 352.5 kB / 1.21 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.5302, allocations: 228.8 kB / 1.21 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.5303, allocations: 12 kB / 1.21 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5304, allocations: 382.8 kB / 1.21 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.5308, allocations: 222 kB / 1.21 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.5313, allocations: 333.3 kB / 1.211 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.5317, allocations: 259.2 kB / 1.211 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5317, allocations: 0 / 1.211 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001107/0.5329, allocations: 0.6837 MB / 1.212 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5329, allocations: 7.938 kB / 1.212 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5329, allocations: 7.984 kB / 1.212 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5329, allocations: 4 kB / 1.212 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.5335, allocations: 139.8 kB / 1.212 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5335, allocations: 8 kB / 1.212 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.5341, allocations: 101.1 kB / 1.212 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.5342, allocations: 35.97 kB / 1.212 GB, free: 6.934 MB / 0.9669 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.5345, allocations: 255.4 kB / 1.212 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5346, allocations: 79.02 kB / 1.212 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.5362, allocations: 0.8483 MB / 1.213 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5362, allocations: 8 kB / 1.213 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.5363, allocations: 0 / 1.213 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5363, allocations: 3.984 kB / 1.213 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5374, allocations: 0.9753 MB / 1.214 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5374, allocations: 0 / 1.214 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.5378, allocations: 127.8 kB / 1.214 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.5378, allocations: 7.938 kB / 1.214 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.5379, allocations: 19.98 kB / 1.214 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5379, allocations: 0 / 1.214 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5379, allocations: 7.984 kB / 1.214 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.539, allocations: 0.7316 MB / 1.215 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.5393, allocations: 275.7 kB / 1.215 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.5394, allocations: 20 kB / 1.215 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.5399, allocations: 71.94 kB / 1.215 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5401, allocations: 56.56 kB / 1.215 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.5401, allocations: 31.98 kB / 1.215 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005364/0.5407, allocations: 447 kB / 1.216 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5407, allocations: 4 kB / 1.216 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000834/0.5415, allocations: 275.4 kB / 1.216 GB, free: 2.605 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.5429, allocations: 0.5892 MB / 1.217 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009906/0.5439, allocations: 0.5755 MB / 1.217 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5439, allocations: 0 / 1.217 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.5444, allocations: 319.6 kB / 1.217 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.5456, allocations: 248.6 kB / 1.218 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.5491, allocations: 1.726 MB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.5499, allocations: 0.9799 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007978/0.5507, allocations: 242.3 kB / 1.221 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.551, allocations: 103.3 kB / 1.221 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/0.551, allocations: 0 / 1.221 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.02408/0.575, allocations: 11.77 MB / 1.232 GB, free: 2.355 MB / 0.9825 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