Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 190 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.089/3.089, allocations: 0.4893 GB / 0.7884 GB, free: 32.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 80.94 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3551, allocations: 174.9 MB / 1.316 GB, free: 9.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.008251/0.3633, allocations: 4.578 MB / 1.32 GB, free: 5.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1966/0.56, allocations: 151.1 MB / 1.468 GB, free: 13.49 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.5611, allocations: 23.88 kB / 1.468 GB, free: 13.46 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.562, allocations: 178.4 kB / 1.468 GB, free: 13.29 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.5644, allocations: 0.5087 MB / 1.469 GB, free: 12.78 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.5665, allocations: 0.7856 MB / 1.47 GB, free: 12 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.5679, allocations: 1.25 MB / 1.471 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.5686, allocations: 347.2 kB / 1.471 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.5691, allocations: 426.5 kB / 1.471 GB, free: 9.965 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.5697, allocations: 422.1 kB / 1.472 GB, free: 9.551 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.5698, allocations: 96 kB / 1.472 GB, free: 9.457 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007831/0.5706, allocations: 403.6 kB / 1.472 GB, free: 9.062 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.5709, allocations: 267.1 kB / 1.473 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.5713, allocations: 481.5 kB / 1.473 GB, free: 8.328 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.5733, allocations: 1.416 MB / 1.474 GB, free: 6.906 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5733, allocations: 0 / 1.474 GB, free: 6.906 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5733, allocations: 0 / 1.474 GB, free: 6.906 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.5733, allocations: 0 / 1.474 GB, free: 6.906 MB / 1.17 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.002438/0.5758, allocations: 1.231 MB / 1.476 GB, free: 5.637 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5758, allocations: 8.031 kB / 1.476 GB, free: 5.629 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.5761, allocations: 116.3 kB / 1.476 GB, free: 5.516 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5773, allocations: 0.6474 MB / 1.476 GB, free: 4.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.5774, allocations: 54 kB / 1.476 GB, free: 4.785 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.499e-05/0.5775, allocations: 64 kB / 1.477 GB, free: 4.723 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.5788, allocations: 0.776 MB / 1.477 GB, free: 3.895 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5788, allocations: 4 kB / 1.477 GB, free: 3.891 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.5789, allocations: 31.98 kB / 1.477 GB, free: 3.859 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5789, allocations: 16 kB / 1.477 GB, free: 3.844 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.5804, allocations: 0.9727 MB / 1.478 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.584, allocations: 2.42 MB / 1.481 GB, free: 388 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.5852, allocations: 0.6423 MB / 1.481 GB, free: 15.72 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.5856, allocations: 235.5 kB / 1.481 GB, free: 15.49 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.5857, allocations: 28.61 kB / 1.482 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007347/0.5864, allocations: 419.9 kB / 1.482 GB, free: 15.03 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/0.5864, allocations: 0 / 1.482 GB, free: 15.03 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.001697/0.5881, allocations: 0.8449 MB / 1.483 GB, free: 14.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.5883, allocations: 243.9 kB / 1.483 GB, free: 13.89 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.5892, allocations: 0.637 MB / 1.484 GB, free: 13.24 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.5892, allocations: 37.7 kB / 1.484 GB, free: 13.2 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.5896, allocations: 365 kB / 1.484 GB, free: 12.83 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.5898, allocations: 238 kB / 1.484 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.59, allocations: 150.6 kB / 1.484 GB, free: 12.45 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.5902, allocations: 382.8 kB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.5906, allocations: 233.8 kB / 1.485 GB, free: 11.84 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.5912, allocations: 337.4 kB / 1.485 GB, free: 11.48 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.5921, allocations: 0.5138 MB / 1.486 GB, free: 10.95 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5921, allocations: 4 kB / 1.486 GB, free: 10.95 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001245/0.5933, allocations: 0.6881 MB / 1.486 GB, free: 10.25 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5934, allocations: 4 kB / 1.486 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5934, allocations: 4.062 kB / 1.486 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.5934, allocations: 12.16 kB / 1.486 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.594, allocations: 147.8 kB / 1.487 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.594, allocations: 11.88 kB / 1.487 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.5947, allocations: 91.5 kB / 1.487 GB, free: 9.984 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.5947, allocations: 27.98 kB / 1.487 GB, free: 9.957 MB / 1.186 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.0004341/0.5952, allocations: 263.4 kB / 1.487 GB, free: 9.691 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.5953, allocations: 83.48 kB / 1.487 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.597, allocations: 0.8446 MB / 1.488 GB, free: 8.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.597, allocations: 12 kB / 1.488 GB, free: 8.738 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5971, allocations: 7.938 kB / 1.488 GB, free: 8.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5971, allocations: 3.984 kB / 1.488 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.5984, allocations: 0.9278 MB / 1.489 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.5984, allocations: 4 kB / 1.489 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.5989, allocations: 123.8 kB / 1.489 GB, free: 7.621 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.5989, allocations: 3.938 kB / 1.489 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.599, allocations: 28.02 kB / 1.489 GB, free: 7.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.599, allocations: 7.984 kB / 1.489 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.599, allocations: 0 / 1.489 GB, free: 7.582 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6003, allocations: 0.7397 MB / 1.49 GB, free: 6.824 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.6007, allocations: 187.1 kB / 1.49 GB, free: 6.641 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6008, allocations: 16 kB / 1.49 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.6013, allocations: 59.94 kB / 1.49 GB, free: 6.566 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.6015, allocations: 60.55 kB / 1.49 GB, free: 6.504 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.6016, allocations: 31.97 kB / 1.49 GB, free: 6.473 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006279/0.6022, allocations: 455 kB / 1.49 GB, free: 6.035 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6022, allocations: 0 / 1.49 GB, free: 6.035 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008498/0.603, allocations: 271.4 kB / 1.491 GB, free: 5.77 MB / 1.186 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.002054/0.6051, allocations: 0.6091 MB / 1.491 GB, free: 5.328 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.6062, allocations: 0.556 MB / 1.492 GB, free: 4.773 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6062, allocations: 0 / 1.492 GB, free: 4.773 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.6067, allocations: 299.6 kB / 1.492 GB, free: 4.48 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6079, allocations: 280.2 kB / 1.492 GB, free: 4.223 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.6106, allocations: 1.451 MB / 1.494 GB, free: 2.738 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.6113, allocations: 0.9757 MB / 1.495 GB, free: 1.738 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007301/0.612, allocations: 250.2 kB / 1.495 GB, free: 1.488 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.6123, allocations: 103.4 kB / 1.495 GB, free: 1.391 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/0.6123, allocations: 0 / 1.495 GB, free: 1.391 MB / 1.186 GB Notification: Performance of Templates: time 0.0252/0.6375, allocations: 13.27 MB / 1.508 GB, free: 4.289 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.722940579988062]