Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 108 kB / 15.61 MB, free: 152 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.002322/0.002322, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.825/2.825, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 59.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6821, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006568/0.6887, allocations: 4.516 MB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1875/0.8762, allocations: 150.6 MB / 1.169 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.8772, allocations: 15.94 kB / 1.169 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.8778, allocations: 170.4 kB / 1.169 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.8798, allocations: 0.5047 MB / 1.169 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.8818, allocations: 0.7578 MB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.8834, allocations: 1.242 MB / 1.171 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.8842, allocations: 0.4947 MB / 1.172 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.8848, allocations: 414.6 kB / 1.172 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.8854, allocations: 426.1 kB / 1.173 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.8855, allocations: 100 kB / 1.173 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.8864, allocations: 367.7 kB / 1.173 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.8867, allocations: 263.2 kB / 1.173 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.8872, allocations: 481.5 kB / 1.174 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.889, allocations: 1.375 MB / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.889, allocations: 0 / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.889, allocations: 0 / 1.175 GB, free: 208 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.889, allocations: 0 / 1.175 GB, free: 208 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.002327/0.8914, allocations: 1.265 MB / 1.176 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8914, allocations: 16.02 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.8917, allocations: 107.7 kB / 1.176 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.8928, allocations: 0.6954 MB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.8929, allocations: 54 kB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.989e-05/0.893, allocations: 64 kB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.8944, allocations: 0.7759 MB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.8944, allocations: 0 / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.8945, allocations: 35.94 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8945, allocations: 16 kB / 1.178 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.896, allocations: 0.9728 MB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.9006, allocations: 2.478 MB / 1.181 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.9021, allocations: 0.6799 MB / 1.182 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.9027, allocations: 247.3 kB / 1.182 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/0.9028, allocations: 32.5 kB / 1.182 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009328/0.9037, allocations: 435.4 kB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 4.087e-06/0.9037, allocations: 0 / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001904/0.9056, allocations: 0.8299 MB / 1.184 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.9059, allocations: 247.8 kB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.9068, allocations: 0.6294 MB / 1.184 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.9069, allocations: 41.69 kB / 1.185 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.9073, allocations: 364.3 kB / 1.185 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.9075, allocations: 224.8 kB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.9077, allocations: 150.5 kB / 1.185 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002405/0.908, allocations: 382.8 kB / 1.186 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.9084, allocations: 221.9 kB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.909, allocations: 341.3 kB / 1.186 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.9098, allocations: 0.5134 MB / 1.187 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9099, allocations: 4 kB / 1.187 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00122/0.9111, allocations: 0.6761 MB / 1.187 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.9111, allocations: 15.92 kB / 1.187 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9111, allocations: 0 / 1.187 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.9112, allocations: 4 kB / 1.187 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.9117, allocations: 147.8 kB / 1.187 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.9117, allocations: 15.86 kB / 1.187 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.9124, allocations: 92.86 kB / 1.188 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.9124, allocations: 31.97 kB / 1.188 GB, free: 3.047 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.0004063/0.9129, allocations: 259.4 kB / 1.188 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.913, allocations: 78.97 kB / 1.188 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.9147, allocations: 0.8407 MB / 1.189 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.9147, allocations: 8 kB / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.9147, allocations: 7.922 kB / 1.189 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.9148, allocations: 7.984 kB / 1.189 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.9161, allocations: 0.9637 MB / 1.19 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.9161, allocations: 4 kB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.9165, allocations: 123.8 kB / 1.19 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.9166, allocations: 7.938 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.9166, allocations: 23.98 kB / 1.19 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.9166, allocations: 4 kB / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9166, allocations: 0 / 1.19 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.9179, allocations: 0.7394 MB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.9183, allocations: 255.8 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.9184, allocations: 20 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.919, allocations: 55.88 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.9191, allocations: 60.58 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.9192, allocations: 35.97 kB / 1.191 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000673/0.9198, allocations: 455 kB / 1.191 GB, free: 15 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9199, allocations: 3.938 kB / 1.191 GB, free: 15 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008112/0.9207, allocations: 275.4 kB / 1.192 GB, free: 14.73 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.001941/0.9226, allocations: 0.5917 MB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.9244, allocations: 0.7592 MB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9244, allocations: 4.062 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.925, allocations: 323.6 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.9261, allocations: 285.3 kB / 1.194 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.9287, allocations: 1.448 MB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.9294, allocations: 0.9796 MB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007973/0.9302, allocations: 250.2 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.9305, allocations: 99.39 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/0.9305, allocations: 4 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of Templates: time 0.02469/0.9552, allocations: 12.71 MB / 1.209 GB, free: 13.58 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches