Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001963/0.001963, 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.002199/0.002199, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.542/1.542, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.759/2.759, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 64.09 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7297, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006834/0.7366, allocations: 4.544 MB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.9238, allocations: 148.3 MB / 1.166 GB, free: 9.395 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.925, allocations: 19.88 kB / 1.166 GB, free: 9.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007431/0.9258, allocations: 139 kB / 1.166 GB, free: 9.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.9281, allocations: 458.4 kB / 1.167 GB, free: 8.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.9301, allocations: 0.6864 MB / 1.167 GB, free: 8.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.9319, allocations: 1.246 MB / 1.169 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000843/0.9328, allocations: 498.6 kB / 1.169 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.9335, allocations: 406.5 kB / 1.169 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.9342, allocations: 428.2 kB / 1.17 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.9343, allocations: 108 kB / 1.17 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008412/0.9352, allocations: 367.7 kB / 1.17 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.9355, allocations: 259.2 kB / 1.171 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.9361, allocations: 485.5 kB / 1.171 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.9382, allocations: 1.382 MB / 1.172 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9382, allocations: 0 / 1.172 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9382, allocations: 0 / 1.172 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.9382, allocations: 0 / 1.172 GB, free: 2.957 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.002631/0.9408, allocations: 1.269 MB / 1.174 GB, free: 1.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.9409, allocations: 8.031 kB / 1.174 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.9413, allocations: 111.7 kB / 1.174 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.9423, allocations: 0.6994 MB / 1.174 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.9424, allocations: 54 kB / 1.174 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.9425, allocations: 64 kB / 1.174 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.9439, allocations: 0.7682 MB / 1.175 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.9439, allocations: 4 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.944, allocations: 39.86 kB / 1.175 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.944, allocations: 16 kB / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.9456, allocations: 0.965 MB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.9495, allocations: 2.482 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.9508, allocations: 0.6759 MB / 1.179 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.9513, allocations: 255.3 kB / 1.18 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.597e-05/0.9514, allocations: 32.5 kB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007695/0.9522, allocations: 431.5 kB / 1.18 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.364e-06/0.9522, allocations: 0 / 1.18 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001714/0.9539, allocations: 0.8376 MB / 1.181 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.9541, allocations: 247.8 kB / 1.181 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.955, allocations: 0.6215 MB / 1.182 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.955, allocations: 41.7 kB / 1.182 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.9554, allocations: 364.5 kB / 1.182 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.9556, allocations: 224.8 kB / 1.182 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.9559, allocations: 158.4 kB / 1.182 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.9561, allocations: 386.8 kB / 1.183 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.9565, allocations: 217.9 kB / 1.183 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.9571, allocations: 329.4 kB / 1.183 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/0.958, allocations: 0.5211 MB / 1.184 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.958, allocations: 4 kB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001298/0.9593, allocations: 0.6839 MB / 1.184 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.9593, allocations: 9.812 kB / 1.185 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9593, allocations: 4 kB / 1.185 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.9594, allocations: 4 kB / 1.185 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.9599, allocations: 139.8 kB / 1.185 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.96, allocations: 11.92 kB / 1.185 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.9606, allocations: 83.55 kB / 1.185 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.9607, allocations: 39.98 kB / 1.185 GB, free: 5.797 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.0004354/0.9611, allocations: 255.4 kB / 1.185 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.9613, allocations: 79.06 kB / 1.185 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.963, allocations: 0.8484 MB / 1.186 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.963, allocations: 12 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.963, allocations: 3.938 kB / 1.186 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.963, allocations: 3.984 kB / 1.186 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.9643, allocations: 0.9598 MB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.9644, allocations: 8.016 kB / 1.187 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.9648, allocations: 123.8 kB / 1.187 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.9648, allocations: 3.938 kB / 1.187 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.9649, allocations: 23.97 kB / 1.187 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.9649, allocations: 4 kB / 1.187 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.9649, allocations: 3.938 kB / 1.187 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.9662, allocations: 0.7315 MB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.9665, allocations: 271.8 kB / 1.188 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.9667, allocations: 19.98 kB / 1.188 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/0.9672, allocations: 53.48 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.9674, allocations: 56.58 kB / 1.188 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.9675, allocations: 31.98 kB / 1.188 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006368/0.9681, allocations: 455 kB / 1.189 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9681, allocations: 0 / 1.189 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008142/0.9689, allocations: 279.4 kB / 1.189 GB, free: 1.484 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.002026/0.971, allocations: 0.5939 MB / 1.189 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.9727, allocations: 0.759 MB / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9727, allocations: 0 / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.9733, allocations: 323.6 kB / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9745, allocations: 282.9 kB / 1.191 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.9775, allocations: 1.776 MB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.9782, allocations: 0.9797 MB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008167/0.9791, allocations: 246.3 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.9793, allocations: 95.39 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.9793, allocations: 0 / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of Templates: time 0.02565/1.005, allocations: 12.62 MB / 1.206 GB, free: 144 kB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches