Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_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_10_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.001066/0.001066, allocations: 98.88 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.001336/0.001336, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.000415, allocations: 11.98 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.747, allocations: 153.8 MB / 1.024 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005562/0.7526, allocations: 4.119 MB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.92, allocations: 146.7 MB / 1.171 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.921, allocations: 11.94 kB / 1.171 GB, free: 8.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.9217, allocations: 138.9 kB / 1.171 GB, free: 8.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.9237, allocations: 433.5 kB / 1.171 GB, free: 8.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.9256, allocations: 0.6588 MB / 1.172 GB, free: 7.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.9272, allocations: 1.16 MB / 1.173 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008919/0.9281, allocations: 478.7 kB / 1.174 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006172/0.9287, allocations: 302.6 kB / 1.174 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.9294, allocations: 338.1 kB / 1.174 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.9295, allocations: 24 kB / 1.174 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007681/0.9303, allocations: 299.7 kB / 1.175 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.9305, allocations: 167.2 kB / 1.175 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.931, allocations: 415.2 kB / 1.175 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.9322, allocations: 1.013 MB / 1.176 GB, free: 3.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9322, allocations: 4 kB / 1.176 GB, free: 3.289 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9322, allocations: 0 / 1.176 GB, free: 3.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.9323, allocations: 0 / 1.176 GB, free: 3.289 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.00222/0.9345, allocations: 1.086 MB / 1.177 GB, free: 2.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9345, allocations: 12.03 kB / 1.177 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.9349, allocations: 107.7 kB / 1.177 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.9361, allocations: 0.6994 MB / 1.178 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.9362, allocations: 53.98 kB / 1.178 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/0.9363, allocations: 64 kB / 1.178 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.9376, allocations: 0.776 MB / 1.179 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.9376, allocations: 7.922 kB / 1.179 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.9377, allocations: 28 kB / 1.179 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.9377, allocations: 20 kB / 1.179 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.9392, allocations: 0.9689 MB / 1.18 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.9429, allocations: 2.504 MB / 1.182 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.9441, allocations: 0.6799 MB / 1.183 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.9445, allocations: 255.3 kB / 1.183 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.805e-05/0.9445, allocations: 28.52 kB / 1.183 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006662/0.9452, allocations: 426.3 kB / 1.184 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/0.9452, allocations: 0 / 1.184 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001461/0.9467, allocations: 0.835 MB / 1.185 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.9468, allocations: 247.8 kB / 1.185 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.9477, allocations: 0.6293 MB / 1.185 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.9477, allocations: 45.7 kB / 1.185 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.948, allocations: 352.5 kB / 1.186 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.9482, allocations: 232.7 kB / 1.186 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.9483, allocations: 65.69 kB / 1.186 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.9485, allocations: 378.8 kB / 1.186 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.9489, allocations: 221.9 kB / 1.187 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.9494, allocations: 341.4 kB / 1.187 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007897/0.9502, allocations: 0.5212 MB / 1.187 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.9502, allocations: 7.938 kB / 1.187 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001113/0.9513, allocations: 0.6837 MB / 1.188 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9513, allocations: 8 kB / 1.188 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.9513, allocations: 0 / 1.188 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.9514, allocations: 4 kB / 1.188 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.9519, allocations: 143.8 kB / 1.188 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.9519, allocations: 7.938 kB / 1.188 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.9526, allocations: 95.55 kB / 1.188 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.9527, allocations: 35.97 kB / 1.188 GB, free: 6.367 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.0003927/0.9531, allocations: 252 kB / 1.189 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.9532, allocations: 87 kB / 1.189 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.9547, allocations: 0.833 MB / 1.19 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.9548, allocations: 11.98 kB / 1.19 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9548, allocations: 15.94 kB / 1.19 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.9548, allocations: 3.984 kB / 1.19 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.956, allocations: 0.9675 MB / 1.191 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.956, allocations: 0 / 1.191 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.9564, allocations: 119.9 kB / 1.191 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.9565, allocations: 7.938 kB / 1.191 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.9565, allocations: 19.98 kB / 1.191 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.9565, allocations: 7.938 kB / 1.191 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9565, allocations: 32 / 1.191 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.9576, allocations: 0.7394 MB / 1.191 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.958, allocations: 275.7 kB / 1.192 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.9581, allocations: 16 kB / 1.192 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.9587, allocations: 74.64 kB / 1.192 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.9588, allocations: 60.56 kB / 1.192 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.9589, allocations: 31.98 kB / 1.192 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005494/0.9595, allocations: 455 kB / 1.192 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9595, allocations: 0 / 1.192 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000772/0.9603, allocations: 279.4 kB / 1.193 GB, free: 2.027 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.001463/0.9617, allocations: 0.5984 MB / 1.193 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.9628, allocations: 0.5794 MB / 1.194 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9628, allocations: 0 / 1.194 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.9632, allocations: 323.6 kB / 1.194 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.9645, allocations: 260.5 kB / 1.194 GB, free: 480 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.9672, allocations: 1.829 MB / 1.196 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.9678, allocations: 0.9767 MB / 1.197 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.9681, allocations: 107.4 kB / 1.197 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.9681, allocations: 0 / 1.197 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.02137/0.9895, allocations: 13.36 MB / 1.21 GB, free: 200 kB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches