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.007512/0.007512, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.00122/0.00122, allocations: 200.5 kB / 16.68 MB, free: 6.371 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 2.851/2.851, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.11 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 159.1 MB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.00607/0.3331, allocations: 4.542 MB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9193/1.252, allocations: 151 MB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008949/1.253, allocations: 15.72 kB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/1.254, allocations: 180.1 kB / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/1.256, allocations: 0.5207 MB / 1.373 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/1.258, allocations: 0.7536 MB / 1.374 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001547/1.259, allocations: 1.235 MB / 1.375 GB, free: 9.832 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/1.26, allocations: 350.5 kB / 1.375 GB, free: 9.617 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/1.26, allocations: 417.7 kB / 1.376 GB, free: 9.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/1.261, allocations: 423.6 kB / 1.376 GB, free: 9.191 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/1.261, allocations: 98.34 kB / 1.376 GB, free: 9.191 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000913/1.262, allocations: 409.3 kB / 1.377 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/1.262, allocations: 254.5 kB / 1.377 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/1.263, allocations: 482.8 kB / 1.377 GB, free: 8.613 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/1.264, allocations: 1.413 MB / 1.379 GB, free: 8.004 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.264, allocations: 3.938 kB / 1.379 GB, free: 8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/1.264, allocations: 0 / 1.379 GB, free: 8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.273e-05/1.264, allocations: 1.531 kB / 1.379 GB, free: 8 MB / 1.076 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.002331/1.267, allocations: 1.307 MB / 1.38 GB, free: 6.945 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.267, allocations: 12.75 kB / 1.38 GB, free: 6.941 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/1.267, allocations: 110.2 kB / 1.38 GB, free: 6.887 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/1.268, allocations: 0.7192 MB / 1.381 GB, free: 6.297 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/1.268, allocations: 50.06 kB / 1.381 GB, free: 6.273 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/1.268, allocations: 65.22 kB / 1.381 GB, free: 6.254 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/1.27, allocations: 0.7864 MB / 1.382 GB, free: 5.707 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/1.27, allocations: 1.125 kB / 1.382 GB, free: 5.707 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/1.27, allocations: 27.5 kB / 1.382 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/1.27, allocations: 17.38 kB / 1.382 GB, free: 5.688 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.271, allocations: 0.9749 MB / 1.383 GB, free: 5.223 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/1.275, allocations: 2.461 MB / 1.385 GB, free: 3.211 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.276, allocations: 0.6507 MB / 1.386 GB, free: 2.855 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/1.276, allocations: 232.5 kB / 1.386 GB, free: 2.727 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/1.276, allocations: 29.92 kB / 1.386 GB, free: 2.711 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000669/1.277, allocations: 421.8 kB / 1.386 GB, free: 2.445 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/1.277, allocations: 3.938 kB / 1.386 GB, free: 2.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.00177/1.279, allocations: 0.8399 MB / 1.387 GB, free: 2.027 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.279, allocations: 243.5 kB / 1.387 GB, free: 1.738 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/1.28, allocations: 0.6391 MB / 1.388 GB, free: 1.359 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/1.28, allocations: 38.39 kB / 1.388 GB, free: 1.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002944/1.28, allocations: 358.5 kB / 1.389 GB, free: 1.004 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/1.28, allocations: 243.9 kB / 1.389 GB, free: 0.793 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/1.281, allocations: 148.6 kB / 1.389 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.281, allocations: 388.2 kB / 1.389 GB, free: 340 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/1.281, allocations: 221 kB / 1.389 GB, free: 232 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/1.282, allocations: 332.3 kB / 1.39 GB, free: 20 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/1.283, allocations: 0.5182 MB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.283, allocations: 1.094 kB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001228/1.284, allocations: 0.6855 MB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.284, allocations: 6.594 kB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.284, allocations: 1.25 kB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.284, allocations: 12.67 kB / 1.391 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/1.284, allocations: 149.6 kB / 1.391 GB, free: 15.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.284, allocations: 4.031 kB / 1.391 GB, free: 15.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/1.285, allocations: 101.6 kB / 1.391 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/1.285, allocations: 34.75 kB / 1.391 GB, free: 15.26 MB / 1.092 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.0004073/1.286, allocations: 262.1 kB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/1.286, allocations: 85.72 kB / 1.392 GB, free: 15.01 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.287, allocations: 0.8433 MB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/1.287, allocations: 8.469 kB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.287, allocations: 0.9688 kB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.287, allocations: 9.078 kB / 1.392 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.288, allocations: 0.9618 MB / 1.393 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.288, allocations: 0 / 1.393 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/1.289, allocations: 124.7 kB / 1.393 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.289, allocations: 6.906 kB / 1.393 GB, free: 13.73 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/1.289, allocations: 27.23 kB / 1.394 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.289, allocations: 4.25 kB / 1.394 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.289, allocations: 0 / 1.394 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.29, allocations: 0.7438 MB / 1.394 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/1.291, allocations: 252.5 kB / 1.394 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.291, allocations: 22.12 kB / 1.395 GB, free: 13.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/1.291, allocations: 58.5 kB / 1.395 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.291, allocations: 61.97 kB / 1.395 GB, free: 13.01 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/1.291, allocations: 32.14 kB / 1.395 GB, free: 13 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000615/1.292, allocations: 455.4 kB / 1.395 GB, free: 12.74 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.292, allocations: 0 / 1.395 GB, free: 12.74 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009788/1.293, allocations: 276.1 kB / 1.395 GB, free: 12.66 MB / 1.092 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.001363/1.294, allocations: 0.6125 MB / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.295, allocations: 0.5527 MB / 1.396 GB, free: 12.12 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.295, allocations: 0 / 1.396 GB, free: 12.12 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004613/1.296, allocations: 299.1 kB / 1.397 GB, free: 12 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.297, allocations: 278.2 kB / 1.397 GB, free: 11.86 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/1.3, allocations: 1.452 MB / 1.398 GB, free: 10.96 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/1.3, allocations: 0.9758 MB / 1.399 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007413/1.301, allocations: 251.7 kB / 1.4 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/1.301, allocations: 102.2 kB / 1.4 GB, free: 9.98 MB / 1.092 GB Notification: Performance of SimCode: time 9.92e-07/1.301, allocations: 0 / 1.4 GB, free: 9.98 MB / 1.092 GB Notification: Performance of Templates: time 0.02421/1.325, allocations: 12.89 MB / 1.412 GB, free: 0.8008 MB / 1.092 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=480 -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