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.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_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.001515/0.001515, allocations: 107.3 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.002103/0.002103, allocations: 192.4 kB / 16.25 MB, free: 6.152 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.745/2.745, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7227, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.006338/0.7291, allocations: 4.535 MB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1845/0.9136, allocations: 148.3 MB / 1.166 GB, free: 9.246 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.9148, allocations: 15.94 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.9156, allocations: 146.9 kB / 1.166 GB, free: 9.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.9181, allocations: 457 kB / 1.167 GB, free: 8.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.9203, allocations: 0.6794 MB / 1.167 GB, free: 7.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.9218, allocations: 1.242 MB / 1.169 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.9226, allocations: 0.4947 MB / 1.169 GB, free: 6.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.9232, allocations: 410.6 kB / 1.169 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.9237, allocations: 430.1 kB / 1.17 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.9238, allocations: 100 kB / 1.17 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/0.9245, allocations: 367.7 kB / 1.17 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.9248, allocations: 263.1 kB / 1.171 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.9252, allocations: 485.5 kB / 1.171 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.9267, allocations: 1.371 MB / 1.172 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9267, allocations: 0 / 1.172 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9267, allocations: 0 / 1.172 GB, free: 2.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.9268, allocations: 0 / 1.172 GB, free: 2.816 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.00218/0.9289, allocations: 1.273 MB / 1.174 GB, free: 1.496 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.929, allocations: 8.031 kB / 1.174 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.9293, allocations: 107.7 kB / 1.174 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.9302, allocations: 0.7072 MB / 1.174 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.9303, allocations: 50 kB / 1.174 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.9304, allocations: 64 kB / 1.174 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.9316, allocations: 0.772 MB / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.9317, allocations: 0 / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.9318, allocations: 28 kB / 1.175 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.9318, allocations: 23.98 kB / 1.175 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.9332, allocations: 0.9688 MB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.9367, allocations: 2.49 MB / 1.179 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.9379, allocations: 0.6721 MB / 1.179 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.9383, allocations: 255.3 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.9384, allocations: 28.5 kB / 1.18 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008248/0.9392, allocations: 427.5 kB / 1.18 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.005e-06/0.9392, allocations: 0 / 1.18 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.00151/0.9407, allocations: 0.8337 MB / 1.181 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.9409, allocations: 247.8 kB / 1.181 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.9416, allocations: 0.6254 MB / 1.182 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.9417, allocations: 45.83 kB / 1.182 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.942, allocations: 360.4 kB / 1.182 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.9422, allocations: 224.8 kB / 1.182 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.9424, allocations: 158.4 kB / 1.182 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9426, allocations: 378.8 kB / 1.183 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.943, allocations: 221.9 kB / 1.183 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.9435, allocations: 341.3 kB / 1.183 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.9443, allocations: 0.5134 MB / 1.184 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9444, allocations: 8 kB / 1.184 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001173/0.9455, allocations: 0.6799 MB / 1.184 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.9456, allocations: 9.188 kB / 1.184 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.9456, allocations: 4.109 kB / 1.184 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9456, allocations: 7.938 kB / 1.184 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.9462, allocations: 139.8 kB / 1.185 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.9462, allocations: 15.91 kB / 1.185 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.9468, allocations: 87.55 kB / 1.185 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.9469, allocations: 31.98 kB / 1.185 GB, free: 5.66 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.0003917/0.9473, allocations: 263.9 kB / 1.185 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9475, allocations: 79.06 kB / 1.185 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.9491, allocations: 0.8446 MB / 1.186 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.9491, allocations: 8 kB / 1.186 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9491, allocations: 7.938 kB / 1.186 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.9491, allocations: 3.984 kB / 1.186 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.9503, allocations: 0.9715 MB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9503, allocations: 0 / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.9508, allocations: 119.8 kB / 1.187 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.9508, allocations: 7.938 kB / 1.187 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.9508, allocations: 23.97 kB / 1.187 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.9509, allocations: 4 kB / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9509, allocations: 0 / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.9521, allocations: 0.7355 MB / 1.188 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.9524, allocations: 263.8 kB / 1.188 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.9525, allocations: 20 kB / 1.188 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.9531, allocations: 53.83 kB / 1.188 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.9532, allocations: 60.52 kB / 1.188 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.9533, allocations: 31.98 kB / 1.188 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005553/0.9538, allocations: 459 kB / 1.189 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9538, allocations: 0 / 1.189 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000745/0.9546, allocations: 271.5 kB / 1.189 GB, free: 1.348 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.001488/0.9561, allocations: 0.6004 MB / 1.189 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.9577, allocations: 0.759 MB / 1.19 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9577, allocations: 320 / 1.19 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.9583, allocations: 327.6 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.9595, allocations: 285.7 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.9623, allocations: 1.776 MB / 1.192 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.9631, allocations: 0.9719 MB / 1.193 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008918/0.964, allocations: 246.2 kB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.9643, allocations: 103.4 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.9643, allocations: 0 / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of Templates: time 0.02402/0.9883, allocations: 12.62 MB / 1.206 GB, free: 0 / 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/jenkins/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