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.001812/0.001812, allocations: 108 kB / 15.6 MB, free: 132 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.002111/0.002111, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.837/2.837, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003378/0.003378, allocations: 71.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6953/0.6987, allocations: 151.6 MB / 1.017 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006897/0.7056, allocations: 4.52 MB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1963/0.9019, allocations: 150.5 MB / 1.169 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.9031, allocations: 19.88 kB / 1.169 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.9042, allocations: 178.4 kB / 1.169 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.9075, allocations: 0.5061 MB / 1.169 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.9102, allocations: 0.75 MB / 1.17 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.9123, allocations: 1.234 MB / 1.171 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.9137, allocations: 0.4959 MB / 1.172 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008467/0.9145, allocations: 414.5 kB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008842/0.9154, allocations: 422.1 kB / 1.173 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.9158, allocations: 100 kB / 1.173 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.9168, allocations: 375.7 kB / 1.173 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.9172, allocations: 255.2 kB / 1.173 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007037/0.9179, allocations: 485.5 kB / 1.174 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.9202, allocations: 1.375 MB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9203, allocations: 0 / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9203, allocations: 4 kB / 1.175 GB, free: 308 kB / 0.92 GB Notification: Performance of Transformations before backend: time 4.694e-05/0.9203, allocations: 4 kB / 1.175 GB, free: 304 kB / 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.003222/0.9236, allocations: 1.263 MB / 1.176 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.9236, allocations: 16.02 kB / 1.176 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.9241, allocations: 103.7 kB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.9254, allocations: 0.7071 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.9254, allocations: 46 kB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.9256, allocations: 64 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.9271, allocations: 0.7821 MB / 1.178 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.9271, allocations: 0 / 1.178 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.9272, allocations: 28 kB / 1.178 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.9272, allocations: 23.88 kB / 1.178 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.9288, allocations: 0.9728 MB / 1.179 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/0.9329, allocations: 2.482 MB / 1.181 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.9342, allocations: 0.6821 MB / 1.182 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/0.9346, allocations: 255.2 kB / 1.182 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.56e-05/0.9347, allocations: 32.52 kB / 1.182 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000735/0.9354, allocations: 428.8 kB / 1.183 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.384e-06/0.9355, allocations: 0 / 1.183 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001662/0.9371, allocations: 0.8298 MB / 1.184 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.9373, allocations: 255.9 kB / 1.184 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008861/0.9382, allocations: 0.6215 MB / 1.184 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.9383, allocations: 45.69 kB / 1.185 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.9386, allocations: 356.4 kB / 1.185 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.9388, allocations: 224.8 kB / 1.185 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.9391, allocations: 154.5 kB / 1.185 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.9393, allocations: 382.8 kB / 1.186 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.9398, allocations: 221.9 kB / 1.186 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.9403, allocations: 333.4 kB / 1.186 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/0.9412, allocations: 0.525 MB / 1.187 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9412, allocations: 0 / 1.187 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001276/0.9425, allocations: 0.6799 MB / 1.187 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9426, allocations: 4.109 kB / 1.187 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.9426, allocations: 7.922 kB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.9426, allocations: 8 kB / 1.187 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.9432, allocations: 139.8 kB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.9432, allocations: 12.09 kB / 1.187 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.9439, allocations: 87.38 kB / 1.188 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.944, allocations: 35.97 kB / 1.188 GB, free: 3.145 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.0003955/0.9444, allocations: 259.4 kB / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.9445, allocations: 75.06 kB / 1.188 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.9463, allocations: 0.8485 MB / 1.189 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.9463, allocations: 8 kB / 1.189 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.9463, allocations: 3.938 kB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.9463, allocations: 11.98 kB / 1.189 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.9476, allocations: 0.9637 MB / 1.19 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9476, allocations: 3.938 kB / 1.19 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.9481, allocations: 123.8 kB / 1.19 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.9481, allocations: 7.938 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.9482, allocations: 19.98 kB / 1.19 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.9482, allocations: 4 kB / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9482, allocations: 3.938 kB / 1.19 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.9495, allocations: 0.7394 MB / 1.191 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.9498, allocations: 259.8 kB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.95, allocations: 20 kB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.9505, allocations: 49.48 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.9507, allocations: 64.58 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.9508, allocations: 39.97 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006252/0.9514, allocations: 451 kB / 1.191 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9514, allocations: 0 / 1.191 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008477/0.9523, allocations: 275.4 kB / 1.192 GB, free: 14.83 MB / 0.9512 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.002137/0.9544, allocations: 0.6039 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.9561, allocations: 0.7551 MB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9562, allocations: 4 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.9567, allocations: 323.6 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.9579, allocations: 276.7 kB / 1.194 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.9606, allocations: 1.448 MB / 1.195 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.9614, allocations: 0.9796 MB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007969/0.9622, allocations: 254.2 kB / 1.196 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.9625, allocations: 99.39 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of SimCode: time 8.92e-07/0.9625, allocations: 0 / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of Templates: time 0.02726/0.9897, allocations: 12.71 MB / 1.209 GB, free: 13.71 MB / 0.9669 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