Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001559/0.001558, 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.002015/0.002015, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6618/0.6632, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006066/0.6693, allocations: 4.527 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.828, allocations: 148.3 MB / 1.166 GB, free: 9.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.8288, allocations: 15.94 kB / 1.166 GB, free: 9.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.8296, allocations: 142.9 kB / 1.166 GB, free: 9.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.8316, allocations: 471.2 kB / 1.167 GB, free: 8.672 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.8334, allocations: 0.666 MB / 1.167 GB, free: 8.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.8349, allocations: 1.25 MB / 1.169 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.8358, allocations: 498.6 kB / 1.169 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006822/0.8365, allocations: 410.5 kB / 1.169 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006656/0.8371, allocations: 434.1 kB / 1.17 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.8374, allocations: 96 kB / 1.17 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.8382, allocations: 375.7 kB / 1.17 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.8385, allocations: 251.2 kB / 1.17 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006285/0.8392, allocations: 489.5 kB / 1.171 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.8409, allocations: 1.367 MB / 1.172 GB, free: 2.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8409, allocations: 4 kB / 1.172 GB, free: 2.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8409, allocations: 4 kB / 1.172 GB, free: 2.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.282e-05/0.841, allocations: 0 / 1.172 GB, free: 2.855 MB / 0.92 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.002831/0.8438, allocations: 1.273 MB / 1.174 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8439, allocations: 8.031 kB / 1.174 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.8442, allocations: 103.7 kB / 1.174 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009878/0.8452, allocations: 0.7072 MB / 1.174 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.8453, allocations: 50 kB / 1.174 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.8454, allocations: 60 kB / 1.174 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.8466, allocations: 0.776 MB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.8467, allocations: 3.938 kB / 1.175 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.8467, allocations: 28 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.8468, allocations: 24 kB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.8481, allocations: 0.9727 MB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.8513, allocations: 2.493 MB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.8525, allocations: 0.6721 MB / 1.179 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.8528, allocations: 259.3 kB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.8529, allocations: 24.53 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008113/0.8537, allocations: 427.5 kB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.906e-06/0.8537, allocations: 0 / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001552/0.8553, allocations: 0.8376 MB / 1.181 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.8554, allocations: 248 kB / 1.181 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.8562, allocations: 0.6254 MB / 1.182 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.8563, allocations: 41.7 kB / 1.182 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.8566, allocations: 356.4 kB / 1.182 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.8568, allocations: 224.8 kB / 1.182 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.857, allocations: 158.4 kB / 1.182 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8572, allocations: 382.8 kB / 1.183 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.8576, allocations: 221.9 kB / 1.183 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.8581, allocations: 337.3 kB / 1.183 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.8589, allocations: 0.5173 MB / 1.184 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8589, allocations: 0 / 1.184 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001133/0.86, allocations: 0.6838 MB / 1.184 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8601, allocations: 4 kB / 1.184 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8601, allocations: 112 / 1.184 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.8601, allocations: 11.94 kB / 1.184 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.8607, allocations: 140 kB / 1.185 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.8607, allocations: 15.88 kB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.8613, allocations: 88.62 kB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.8614, allocations: 31.98 kB / 1.185 GB, free: 5.703 MB / 0.9356 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.0003294/0.8617, allocations: 259.9 kB / 1.185 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.8618, allocations: 75.06 kB / 1.185 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.8634, allocations: 0.8485 MB / 1.186 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.8635, allocations: 8 kB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8635, allocations: 11.94 kB / 1.186 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.8635, allocations: 3.984 kB / 1.186 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.8647, allocations: 0.9637 MB / 1.187 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8647, allocations: 0 / 1.187 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.8652, allocations: 123.8 kB / 1.187 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.8652, allocations: 7.938 kB / 1.187 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.8652, allocations: 23.97 kB / 1.187 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.8652, allocations: 4 kB / 1.187 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8652, allocations: 3.938 kB / 1.187 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.8664, allocations: 0.7355 MB / 1.188 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.8667, allocations: 259.8 kB / 1.188 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8669, allocations: 27.92 kB / 1.188 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.8674, allocations: 43.95 kB / 1.188 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.8675, allocations: 68.56 kB / 1.188 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.8676, allocations: 31.98 kB / 1.188 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005359/0.8682, allocations: 455 kB / 1.189 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8682, allocations: 0 / 1.189 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007294/0.8689, allocations: 271.5 kB / 1.189 GB, free: 1.391 MB / 0.9356 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.00144/0.8703, allocations: 0.6039 MB / 1.189 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.8719, allocations: 0.759 MB / 1.19 GB, free: 208 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8719, allocations: 4 kB / 1.19 GB, free: 204 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.8724, allocations: 323.6 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.8734, allocations: 278.5 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.8759, allocations: 1.78 MB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.8764, allocations: 0.9719 MB / 1.193 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000729/0.8772, allocations: 250.2 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.8774, allocations: 99.39 kB / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.8774, allocations: 0 / 1.194 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of Templates: time 0.02109/0.8985, allocations: 12.62 MB / 1.206 GB, free: 12 kB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches