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.01151/0.01151, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.002548/0.002548, allocations: 189.8 kB / 16.67 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.487/2.487, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.91 kB / 1.018 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8905, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005974/0.8965, allocations: 4.537 MB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1699/1.066, allocations: 150.5 MB / 1.318 GB, free: 8.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/1.068, allocations: 15.94 kB / 1.318 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006636/1.068, allocations: 182.3 kB / 1.318 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/1.07, allocations: 0.5003 MB / 1.319 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/1.072, allocations: 0.7598 MB / 1.319 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001372/1.074, allocations: 1.25 MB / 1.321 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007159/1.074, allocations: 0.4941 MB / 1.321 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/1.075, allocations: 414.5 kB / 1.322 GB, free: 4.555 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/1.076, allocations: 422.1 kB / 1.322 GB, free: 4.141 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/1.076, allocations: 100 kB / 1.322 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/1.077, allocations: 399.6 kB / 1.322 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/1.077, allocations: 255.2 kB / 1.323 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/1.077, allocations: 489.5 kB / 1.323 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/1.079, allocations: 1.41 MB / 1.325 GB, free: 1.508 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.079, allocations: 4 kB / 1.325 GB, free: 1.504 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.364e-06/1.079, allocations: 0 / 1.325 GB, free: 1.504 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.214e-05/1.079, allocations: 0 / 1.325 GB, free: 1.504 MB / 1.045 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.002258/1.081, allocations: 1.311 MB / 1.326 GB, free: 140 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.081, allocations: 8.922 kB / 1.326 GB, free: 132 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/1.082, allocations: 112.3 kB / 1.326 GB, free: 20 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/1.083, allocations: 0.7234 MB / 1.327 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/1.083, allocations: 50 kB / 1.327 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/1.083, allocations: 64 kB / 1.327 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/1.084, allocations: 0.776 MB / 1.327 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.084, allocations: 0 / 1.327 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/1.084, allocations: 31.98 kB / 1.328 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/1.084, allocations: 20 kB / 1.328 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/1.086, allocations: 0.9728 MB / 1.328 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/1.089, allocations: 2.465 MB / 1.331 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/1.09, allocations: 0.6837 MB / 1.332 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/1.091, allocations: 251.3 kB / 1.332 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/1.091, allocations: 36.5 kB / 1.332 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/1.091, allocations: 415.8 kB / 1.332 GB, free: 9.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/1.091, allocations: 7.938 kB / 1.332 GB, free: 9.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001585/1.093, allocations: 0.8342 MB / 1.333 GB, free: 8.496 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.093, allocations: 251.8 kB / 1.333 GB, free: 8.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007868/1.094, allocations: 0.6371 MB / 1.334 GB, free: 7.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/1.094, allocations: 41.7 kB / 1.334 GB, free: 7.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/1.094, allocations: 357 kB / 1.334 GB, free: 7.145 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.094, allocations: 238 kB / 1.335 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/1.095, allocations: 158.6 kB / 1.335 GB, free: 6.746 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.095, allocations: 382.8 kB / 1.335 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/1.095, allocations: 221.9 kB / 1.335 GB, free: 6.148 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/1.096, allocations: 333.4 kB / 1.336 GB, free: 5.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/1.097, allocations: 0.5173 MB / 1.336 GB, free: 5.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.097, allocations: 0 / 1.336 GB, free: 5.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001156/1.098, allocations: 0.6842 MB / 1.337 GB, free: 4.578 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.098, allocations: 10.5 kB / 1.337 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.098, allocations: 0 / 1.337 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.098, allocations: 4 kB / 1.337 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/1.098, allocations: 151.7 kB / 1.337 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.098, allocations: 7.938 kB / 1.337 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/1.099, allocations: 97.34 kB / 1.337 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/1.099, allocations: 35.97 kB / 1.337 GB, free: 4.281 MB / 1.061 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.000345/1.099, allocations: 251.4 kB / 1.337 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.1, allocations: 79.48 kB / 1.337 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/1.101, allocations: 0.8447 MB / 1.338 GB, free: 3.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.101, allocations: 8 kB / 1.338 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.101, allocations: 7.938 kB / 1.338 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/1.101, allocations: 3.984 kB / 1.338 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/1.102, allocations: 0.9716 MB / 1.339 GB, free: 2.035 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.102, allocations: 0 / 1.339 GB, free: 2.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/1.103, allocations: 123.8 kB / 1.339 GB, free: 1.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.103, allocations: 7.938 kB / 1.339 GB, free: 1.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/1.103, allocations: 19.98 kB / 1.339 GB, free: 1.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.103, allocations: 7.984 kB / 1.339 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.103, allocations: 0 / 1.339 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/1.104, allocations: 0.7398 MB / 1.34 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/1.104, allocations: 272.1 kB / 1.34 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.105, allocations: 16 kB / 1.34 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/1.105, allocations: 55.88 kB / 1.34 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.105, allocations: 64.56 kB / 1.34 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/1.105, allocations: 35.97 kB / 1.34 GB, free: 0.668 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005375/1.106, allocations: 455 kB / 1.341 GB, free: 236 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.106, allocations: 0 / 1.341 GB, free: 236 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007594/1.107, allocations: 275.4 kB / 1.341 GB, free: 15.96 MB / 1.076 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.001611/1.108, allocations: 0.5982 MB / 1.342 GB, free: 15.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001127/1.109, allocations: 0.5833 MB / 1.342 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.109, allocations: 0 / 1.342 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000521/1.11, allocations: 323.6 kB / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.111, allocations: 280.7 kB / 1.343 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/1.113, allocations: 1.451 MB / 1.344 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/1.114, allocations: 0.9797 MB / 1.345 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006535/1.115, allocations: 250.2 kB / 1.345 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/1.115, allocations: 99.39 kB / 1.346 GB, free: 11.52 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/1.115, allocations: 0 / 1.346 GB, free: 11.52 MB / 1.076 GB Notification: Performance of Templates: time 0.03085/1.146, allocations: 12.86 MB / 1.358 GB, free: 14.79 MB / 1.092 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