Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001043/0.001043, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007789/0.00779, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.778/1.778, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.145/3.145, allocations: 470.6 MB / 0.7442 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 16.06 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4062, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006519/0.4127, allocations: 4.115 MB / 1.074 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2189/0.6317, allocations: 146.6 MB / 1.217 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.633, allocations: 15.88 kB / 1.217 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.634, allocations: 142.9 kB / 1.217 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.6364, allocations: 437 kB / 1.218 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.6388, allocations: 0.661 MB / 1.218 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002095/0.6409, allocations: 1.156 MB / 1.219 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.6421, allocations: 474.7 kB / 1.22 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007773/0.6429, allocations: 306.5 kB / 1.22 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.6437, allocations: 334.2 kB / 1.221 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.6439, allocations: 24 kB / 1.221 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/0.6448, allocations: 295.7 kB / 1.221 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.6451, allocations: 171.2 kB / 1.221 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.6458, allocations: 419.4 kB / 1.221 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.648, allocations: 1.277 MB / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.648, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.194e-06/0.648, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.363e-05/0.6481, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9825 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.003021/0.6511, allocations: 1.102 MB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/0.6512, allocations: 8.031 kB / 1.224 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.6518, allocations: 107.7 kB / 1.224 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.6534, allocations: 0.6916 MB / 1.224 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.6535, allocations: 57.98 kB / 1.225 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.6536, allocations: 64 kB / 1.225 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.6553, allocations: 0.776 MB / 1.225 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6553, allocations: 0 / 1.225 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.6554, allocations: 28 kB / 1.225 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.6554, allocations: 20 kB / 1.225 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.6571, allocations: 0.9766 MB / 1.226 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006807/0.6639, allocations: 2.506 MB / 1.229 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.6662, allocations: 0.6837 MB / 1.229 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007168/0.6669, allocations: 255.3 kB / 1.23 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.6671, allocations: 32.52 kB / 1.23 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.6683, allocations: 415.6 kB / 1.23 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 5.2e-06/0.6683, allocations: 0 / 1.23 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.002782/0.6711, allocations: 0.8415 MB / 1.231 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/0.6714, allocations: 247.8 kB / 1.231 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.6733, allocations: 0.6332 MB / 1.232 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.6734, allocations: 41.7 kB / 1.232 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.674, allocations: 356.4 kB / 1.232 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/0.6744, allocations: 224.8 kB / 1.232 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.6746, allocations: 65.69 kB / 1.232 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.6749, allocations: 378.8 kB / 1.233 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.6756, allocations: 221.9 kB / 1.233 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008964/0.6765, allocations: 341.3 kB / 1.233 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.678, allocations: 0.5212 MB / 1.234 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.678, allocations: 0 / 1.234 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002124/0.6801, allocations: 0.6838 MB / 1.235 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.6802, allocations: 4 kB / 1.235 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.6802, allocations: 3.984 kB / 1.235 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.783e-05/0.6803, allocations: 4.109 kB / 1.235 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/0.6811, allocations: 151.7 kB / 1.235 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/0.6812, allocations: 7.938 kB / 1.235 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6824, allocations: 99.48 kB / 1.235 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.6826, allocations: 31.97 kB / 1.235 GB, free: 1.41 MB / 0.9825 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.0008216/0.6834, allocations: 255.4 kB / 1.235 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.6838, allocations: 83.06 kB / 1.235 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.687, allocations: 0.8484 MB / 1.236 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.687, allocations: 12 kB / 1.236 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.6871, allocations: 7.938 kB / 1.236 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.6871, allocations: 3.984 kB / 1.236 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.6895, allocations: 0.9637 MB / 1.237 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.6896, allocations: 0 / 1.237 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/0.6905, allocations: 123.8 kB / 1.237 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.6905, allocations: 7.938 kB / 1.237 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.6906, allocations: 19.98 kB / 1.237 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.6906, allocations: 4 kB / 1.237 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6907, allocations: 4.031 kB / 1.237 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.6929, allocations: 0.7393 MB / 1.238 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/0.6936, allocations: 267.8 kB / 1.238 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.6938, allocations: 16 kB / 1.238 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.6949, allocations: 76 kB / 1.238 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.6951, allocations: 60.56 kB / 1.238 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6953, allocations: 31.98 kB / 1.238 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001118/0.6964, allocations: 455 kB / 1.239 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6964, allocations: 4 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001338/0.6978, allocations: 271.4 kB / 1.239 GB, free: 13.08 MB / 0.9981 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.003117/0.7009, allocations: 0.6045 MB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.703, allocations: 0.5794 MB / 1.24 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.703, allocations: 4 kB / 1.24 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.7039, allocations: 323.9 kB / 1.24 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.7062, allocations: 248.7 kB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.7112, allocations: 1.789 MB / 1.242 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.7123, allocations: 0.978 MB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00157/0.7139, allocations: 246.3 kB / 1.244 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.7143, allocations: 95.39 kB / 1.244 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of SimCode: time 1.653e-06/0.7143, allocations: 0 / 1.244 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.6565/1.371, allocations: 12.13 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches