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.001754/0.001754, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.002044/0.002044, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.332/1.332, 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 10.1.0-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.41 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005953/0.3039, allocations: 4.542 MB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6407/0.9446, allocations: 150.6 MB / 1.17 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007207/0.9453, allocations: 19.72 kB / 1.17 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005046/0.9458, allocations: 171.1 kB / 1.17 GB, free: 312 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.9474, allocations: 0.5042 MB / 1.171 GB, free: 20 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.949, allocations: 0.7583 MB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.9503, allocations: 1.248 MB / 1.173 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.951, allocations: 0.4894 MB / 1.173 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.9515, allocations: 415.7 kB / 1.174 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.952, allocations: 423.5 kB / 1.174 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.9521, allocations: 98.38 kB / 1.174 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006827/0.9528, allocations: 400.4 kB / 1.175 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.9531, allocations: 264.8 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.9535, allocations: 479.3 kB / 1.175 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.9549, allocations: 1.408 MB / 1.177 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9549, allocations: 0 / 1.177 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9549, allocations: 0 / 1.177 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.9549, allocations: 1.406 kB / 1.177 GB, free: 12.86 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.002095/0.957, allocations: 1.273 MB / 1.178 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.9571, allocations: 13.81 kB / 1.178 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.9574, allocations: 104.9 kB / 1.178 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.9585, allocations: 0.7193 MB / 1.179 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.9585, allocations: 49.75 kB / 1.179 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.9586, allocations: 67.03 kB / 1.179 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.9598, allocations: 0.7792 MB / 1.18 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9598, allocations: 0 / 1.18 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.9599, allocations: 32.59 kB / 1.18 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.9599, allocations: 16.81 kB / 1.18 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.9612, allocations: 0.973 MB / 1.181 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.9644, allocations: 2.46 MB / 1.183 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.9656, allocations: 0.6793 MB / 1.184 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.966, allocations: 249.6 kB / 1.184 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.9661, allocations: 33.81 kB / 1.184 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006223/0.9667, allocations: 419.7 kB / 1.184 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/0.9667, allocations: 4 kB / 1.184 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.001399/0.9681, allocations: 0.8346 MB / 1.185 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9683, allocations: 248.4 kB / 1.185 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.969, allocations: 0.6263 MB / 1.186 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.969, allocations: 38.42 kB / 1.186 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.9694, allocations: 366.3 kB / 1.186 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.9696, allocations: 221.2 kB / 1.187 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.9698, allocations: 156.1 kB / 1.187 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.97, allocations: 389 kB / 1.187 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.9704, allocations: 223.9 kB / 1.187 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.9709, allocations: 332.7 kB / 1.188 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.9717, allocations: 0.519 MB / 1.188 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.9717, allocations: 0 / 1.188 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001123/0.9728, allocations: 0.677 MB / 1.189 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.9729, allocations: 6.844 kB / 1.189 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9729, allocations: 7.062 kB / 1.189 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9729, allocations: 6.766 kB / 1.189 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.9734, allocations: 145.7 kB / 1.189 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.9735, allocations: 10.05 kB / 1.189 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.974, allocations: 88.39 kB / 1.189 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.9741, allocations: 36.67 kB / 1.189 GB, free: 4.168 MB / 0.8887 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.0003128/0.9744, allocations: 256.4 kB / 1.189 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.9746, allocations: 77.56 kB / 1.189 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.9761, allocations: 0.8486 MB / 1.19 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.9761, allocations: 9.562 kB / 1.19 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9761, allocations: 3.938 kB / 1.19 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.9761, allocations: 7.922 kB / 1.19 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.9771, allocations: 0.9616 MB / 1.191 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9771, allocations: 3.5 kB / 1.191 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.9776, allocations: 122 kB / 1.191 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.9776, allocations: 6.5 kB / 1.191 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.9776, allocations: 27.42 kB / 1.191 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.9776, allocations: 3.5 kB / 1.191 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9776, allocations: 1.406 kB / 1.191 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.9788, allocations: 0.7376 MB / 1.192 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.9791, allocations: 255.6 kB / 1.192 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9792, allocations: 22.34 kB / 1.192 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.9797, allocations: 57.19 kB / 1.192 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9799, allocations: 57.36 kB / 1.192 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.9799, allocations: 32.72 kB / 1.193 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000494/0.9804, allocations: 450 kB / 1.193 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9804, allocations: 0 / 1.193 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006882/0.9811, allocations: 276.4 kB / 1.193 GB, free: 1.574 MB / 0.8887 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.001286/0.9824, allocations: 0.6072 MB / 1.194 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009304/0.9834, allocations: 0.5827 MB / 1.194 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9834, allocations: 0 / 1.194 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.9838, allocations: 324.1 kB / 1.195 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.9848, allocations: 279.6 kB / 1.195 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.987, allocations: 1.427 MB / 1.196 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.9876, allocations: 0.98 MB / 1.197 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006281/0.9882, allocations: 246.3 kB / 1.198 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.9884, allocations: 99.33 kB / 1.198 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.9884, allocations: 0 / 1.198 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of Templates: time 0.02226/1.011, allocations: 12.71 MB / 1.21 GB, free: 4.73 MB / 0.9044 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 -s gbode -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