Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00187/0.00187, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002043/0.002043, allocations: 190 kB / 22.11 MB, free: 4.34 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.493/1.493, allocations: 225.6 MB / 250.8 MB, free: 2.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.848/2.848, allocations: 495.8 MB / 0.7831 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 1.137 GB, free: 12.25 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005389/1.064, allocations: 4.565 MB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2199/1.284, allocations: 149.5 MB / 1.457 GB, free: 2.301 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/1.285, allocations: 23.25 kB / 1.457 GB, free: 2.289 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006879/1.285, allocations: 177.6 kB / 1.457 GB, free: 2.168 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/1.288, allocations: 0.5097 MB / 1.458 GB, free: 1.863 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/1.29, allocations: 0.7905 MB / 1.459 GB, free: 1.418 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002301/1.292, allocations: 1.243 MB / 1.46 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000766/1.293, allocations: 342.1 kB / 1.46 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009079/1.294, allocations: 429.4 kB / 1.461 GB, free: 352 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007988/1.295, allocations: 425.5 kB / 1.461 GB, free: 128 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/1.295, allocations: 97.34 kB / 1.461 GB, free: 128 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/1.296, allocations: 394.8 kB / 1.461 GB, free: 24 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/1.297, allocations: 252.6 kB / 1.462 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005328/1.297, allocations: 483.3 kB / 1.462 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/1.3, allocations: 1.403 MB / 1.464 GB, free: 14.94 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.3, allocations: 4 kB / 1.464 GB, free: 14.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.924e-06/1.3, allocations: 0.7031 kB / 1.464 GB, free: 14.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.688e-05/1.3, allocations: 0 / 1.464 GB, free: 14.93 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.002853/1.302, allocations: 1.238 MB / 1.465 GB, free: 14.09 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.302, allocations: 12.78 kB / 1.465 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/1.303, allocations: 111.6 kB / 1.465 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/1.304, allocations: 0.6498 MB / 1.466 GB, free: 13.63 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/1.304, allocations: 53.69 kB / 1.466 GB, free: 13.6 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/1.304, allocations: 65.08 kB / 1.466 GB, free: 13.58 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/1.306, allocations: 0.7797 MB / 1.466 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/1.306, allocations: 0 / 1.466 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/1.306, allocations: 28.27 kB / 1.466 GB, free: 13.15 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/1.306, allocations: 17.81 kB / 1.466 GB, free: 13.15 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/1.308, allocations: 0.9736 MB / 1.467 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/1.312, allocations: 2.399 MB / 1.47 GB, free: 11.04 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.313, allocations: 0.6517 MB / 1.47 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/1.314, allocations: 234.6 kB / 1.471 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/1.314, allocations: 29.89 kB / 1.471 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007583/1.314, allocations: 422.3 kB / 1.471 GB, free: 10.27 MB / 1.154 GB Notification: Performance of pre-optimization done (n=70): time 2.985e-06/1.314, allocations: 0 / 1.471 GB, free: 10.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=70): time 0.001836/1.316, allocations: 0.843 MB / 1.472 GB, free: 9.852 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.316, allocations: 248.2 kB / 1.472 GB, free: 9.562 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009783/1.317, allocations: 0.6317 MB / 1.473 GB, free: 9.191 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-05/1.317, allocations: 41.8 kB / 1.473 GB, free: 9.148 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/1.318, allocations: 358 kB / 1.473 GB, free: 8.832 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.318, allocations: 243.6 kB / 1.473 GB, free: 8.621 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/1.318, allocations: 155.3 kB / 1.473 GB, free: 8.527 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002398/1.319, allocations: 380.2 kB / 1.474 GB, free: 8.164 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.319, allocations: 221.8 kB / 1.474 GB, free: 8.059 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/1.32, allocations: 335.7 kB / 1.474 GB, free: 7.848 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/1.321, allocations: 0.5191 MB / 1.475 GB, free: 7.551 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.321, allocations: 5.438 kB / 1.475 GB, free: 7.547 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001343/1.322, allocations: 0.6847 MB / 1.476 GB, free: 7.203 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.322, allocations: 5.281 kB / 1.476 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.322, allocations: 1.938 kB / 1.476 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.322, allocations: 4.906 kB / 1.476 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/1.323, allocations: 145.1 kB / 1.476 GB, free: 7.168 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/1.323, allocations: 11.7 kB / 1.476 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/1.323, allocations: 90.62 kB / 1.476 GB, free: 7.102 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/1.323, allocations: 38.69 kB / 1.476 GB, free: 7.086 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.0004765/1.324, allocations: 253.1 kB / 1.476 GB, free: 6.887 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/1.324, allocations: 86.56 kB / 1.476 GB, free: 6.84 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.326, allocations: 0.8431 MB / 1.477 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.326, allocations: 8.047 kB / 1.477 GB, free: 6.371 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.326, allocations: 9 kB / 1.477 GB, free: 6.363 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.326, allocations: 13.02 kB / 1.477 GB, free: 6.352 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.327, allocations: 0.9334 MB / 1.478 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.327, allocations: 1 kB / 1.478 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/1.328, allocations: 123.5 kB / 1.478 GB, free: 5.582 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.328, allocations: 11.03 kB / 1.478 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/1.328, allocations: 24.17 kB / 1.478 GB, free: 5.559 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/1.328, allocations: 2.5 kB / 1.478 GB, free: 5.559 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.328, allocations: 5.172 kB / 1.478 GB, free: 5.555 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.329, allocations: 0.7483 MB / 1.479 GB, free: 5.148 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/1.33, allocations: 186.9 kB / 1.479 GB, free: 5.012 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.33, allocations: 17.77 kB / 1.479 GB, free: 5 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/1.33, allocations: 50.42 kB / 1.479 GB, free: 4.977 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.33, allocations: 67.88 kB / 1.479 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/1.331, allocations: 28.52 kB / 1.479 GB, free: 4.922 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006623/1.331, allocations: 459 kB / 1.48 GB, free: 4.66 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.331, allocations: 0 / 1.48 GB, free: 4.66 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000945/1.332, allocations: 276.6 kB / 1.48 GB, free: 4.582 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.002072/1.334, allocations: 0.5949 MB / 1.48 GB, free: 4.301 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00135/1.336, allocations: 0.5609 MB / 1.481 GB, free: 4.055 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.336, allocations: 0 / 1.481 GB, free: 4.055 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/1.336, allocations: 299 kB / 1.481 GB, free: 3.926 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.338, allocations: 278.2 kB / 1.482 GB, free: 3.781 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/1.34, allocations: 1.465 MB / 1.483 GB, free: 2.871 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/1.341, allocations: 0.9767 MB / 1.484 GB, free: 2.051 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009275/1.342, allocations: 242.1 kB / 1.484 GB, free: 1.934 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/1.342, allocations: 102.7 kB / 1.484 GB, free: 1.902 MB / 1.154 GB Notification: Performance of SimCode: time 1.302e-06/1.342, allocations: 0 / 1.484 GB, free: 1.902 MB / 1.154 GB Notification: Performance of Templates: time 0.02539/1.368, allocations: 13.28 MB / 1.497 GB, free: 5.52 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.999659805558622]