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.001728/0.001728, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001915/0.001915, allocations: 186 kB / 20.78 MB, free: 1.547 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.517/1.517, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002039/0.002039, allocations: 67.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.206, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005654/1.212, allocations: 4.582 MB / 1.31 GB, free: 30.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2101/1.422, allocations: 151.1 MB / 1.457 GB, free: 420 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/1.423, allocations: 22.88 kB / 1.457 GB, free: 408 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/1.424, allocations: 174.1 kB / 1.458 GB, free: 292 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/1.427, allocations: 0.5062 MB / 1.458 GB, free: 15.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/1.429, allocations: 0.7794 MB / 1.459 GB, free: 15.55 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002602/1.432, allocations: 1.25 MB / 1.46 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/1.433, allocations: 344.6 kB / 1.46 GB, free: 14.69 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007608/1.433, allocations: 409.3 kB / 1.461 GB, free: 14.49 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/1.434, allocations: 435.1 kB / 1.461 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/1.434, allocations: 97.47 kB / 1.461 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/1.436, allocations: 407.7 kB / 1.462 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/1.436, allocations: 255.9 kB / 1.462 GB, free: 14 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006939/1.437, allocations: 482.8 kB / 1.462 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/1.439, allocations: 1.414 MB / 1.464 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.439, allocations: 0.5156 kB / 1.464 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.943e-06/1.439, allocations: 0 / 1.464 GB, free: 13.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.588e-05/1.439, allocations: 3.938 kB / 1.464 GB, free: 13.06 MB / 1.154 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.002728/1.442, allocations: 1.305 MB / 1.465 GB, free: 12.13 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.442, allocations: 10.47 kB / 1.465 GB, free: 12.13 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004288/1.443, allocations: 110.6 kB / 1.465 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.444, allocations: 0.719 MB / 1.466 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/1.444, allocations: 49.98 kB / 1.466 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/1.444, allocations: 64.34 kB / 1.466 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.446, allocations: 0.7805 MB / 1.467 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/1.446, allocations: 0 / 1.467 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/1.446, allocations: 28.67 kB / 1.467 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/1.446, allocations: 21.31 kB / 1.467 GB, free: 11.13 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/1.447, allocations: 0.9793 MB / 1.468 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/1.451, allocations: 2.472 MB / 1.47 GB, free: 8.887 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/1.452, allocations: 0.6472 MB / 1.471 GB, free: 8.535 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/1.452, allocations: 230.7 kB / 1.471 GB, free: 8.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/1.453, allocations: 21.78 kB / 1.471 GB, free: 8.402 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007051/1.453, allocations: 425.2 kB / 1.471 GB, free: 8.125 MB / 1.154 GB Notification: Performance of pre-optimization done (n=70): time 2.565e-06/1.453, allocations: 0 / 1.471 GB, free: 8.125 MB / 1.154 GB Notification: Performance of matching and sorting (n=70): time 0.001682/1.455, allocations: 0.8402 MB / 1.472 GB, free: 7.707 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.455, allocations: 248.4 kB / 1.473 GB, free: 7.418 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/1.456, allocations: 0.6311 MB / 1.473 GB, free: 7.047 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/1.456, allocations: 41.86 kB / 1.473 GB, free: 7.004 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/1.456, allocations: 358.3 kB / 1.474 GB, free: 6.688 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.457, allocations: 240.3 kB / 1.474 GB, free: 6.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/1.457, allocations: 154.5 kB / 1.474 GB, free: 6.387 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.457, allocations: 380.4 kB / 1.474 GB, free: 6.023 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/1.457, allocations: 222.2 kB / 1.474 GB, free: 5.918 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/1.458, allocations: 340.2 kB / 1.475 GB, free: 5.703 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/1.459, allocations: 0.5224 MB / 1.475 GB, free: 5.402 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/1.459, allocations: 0 / 1.475 GB, free: 5.402 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001386/1.461, allocations: 0.685 MB / 1.476 GB, free: 5.059 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.461, allocations: 6.188 kB / 1.476 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.461, allocations: 5.062 kB / 1.476 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/1.461, allocations: 8.562 kB / 1.476 GB, free: 5.051 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/1.461, allocations: 141.7 kB / 1.476 GB, free: 5.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.461, allocations: 13.12 kB / 1.476 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/1.462, allocations: 93.73 kB / 1.476 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/1.462, allocations: 33.52 kB / 1.476 GB, free: 4.938 MB / 1.154 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.0004504/1.463, allocations: 258.9 kB / 1.477 GB, free: 4.734 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.463, allocations: 80.73 kB / 1.477 GB, free: 4.691 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/1.465, allocations: 0.8445 MB / 1.477 GB, free: 4.223 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.465, allocations: 11.62 kB / 1.477 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.465, allocations: 5.219 kB / 1.477 GB, free: 4.215 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.465, allocations: 5.297 kB / 1.477 GB, free: 4.211 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.466, allocations: 0.9687 MB / 1.478 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.466, allocations: 1.25 kB / 1.478 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/1.466, allocations: 122.7 kB / 1.478 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/1.466, allocations: 12.16 kB / 1.479 GB, free: 3.391 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/1.466, allocations: 19.83 kB / 1.479 GB, free: 3.379 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.466, allocations: 3.281 kB / 1.479 GB, free: 3.379 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.466, allocations: 0 / 1.479 GB, free: 3.379 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/1.468, allocations: 0.7401 MB / 1.479 GB, free: 2.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/1.468, allocations: 265.2 kB / 1.48 GB, free: 2.746 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.468, allocations: 21.45 kB / 1.48 GB, free: 2.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/1.469, allocations: 59.56 kB / 1.48 GB, free: 2.699 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.469, allocations: 60.28 kB / 1.48 GB, free: 2.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/1.469, allocations: 32.33 kB / 1.48 GB, free: 2.652 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006072/1.469, allocations: 455.7 kB / 1.48 GB, free: 2.395 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.469, allocations: 0 / 1.48 GB, free: 2.395 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001056/1.471, allocations: 268.2 kB / 1.48 GB, free: 2.324 MB / 1.154 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.002115/1.473, allocations: 0.6095 MB / 1.481 GB, free: 2.02 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.474, allocations: 0.5561 MB / 1.481 GB, free: 1.777 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.474, allocations: 1.625 kB / 1.481 GB, free: 1.777 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/1.474, allocations: 298.6 kB / 1.482 GB, free: 1.648 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.476, allocations: 274 kB / 1.482 GB, free: 1.508 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/1.479, allocations: 1.454 MB / 1.483 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/1.479, allocations: 0.9727 MB / 1.484 GB, free: 15.8 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008163/1.48, allocations: 250.4 kB / 1.485 GB, free: 15.68 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.48, allocations: 98.45 kB / 1.485 GB, free: 15.65 MB / 1.17 GB Notification: Performance of SimCode: time 9.02e-07/1.48, allocations: 1.062 kB / 1.485 GB, free: 15.65 MB / 1.17 GB Notification: Performance of Templates: time 0.02552/1.506, allocations: 13.08 MB / 1.498 GB, free: 3.562 MB / 1.17 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 400] 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: 10.270916861481965]