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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002422/0.002422, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00293/0.00293, allocations: 169.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.372/3.372, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.353e-06/1.353e-06, allocations: 0 / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.496e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007032/0.007057, allocations: 4.359 MB / 0.8817 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2049/0.2119, allocations: 146.2 MB / 1.024 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.2131, allocations: 23.81 kB / 1.024 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008367/0.2139, allocations: 190.3 kB / 1.025 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.216, allocations: 0.5281 MB / 1.025 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.218, allocations: 0.7868 MB / 1.026 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.22, allocations: 1.327 MB / 1.027 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007021/0.2207, allocations: 327.4 kB / 1.028 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.2219, allocations: 0.6315 MB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.2225, allocations: 346.9 kB / 1.028 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.2228, allocations: 104 kB / 1.029 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008686/0.2236, allocations: 411.5 kB / 1.029 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.224, allocations: 275.1 kB / 1.029 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.2245, allocations: 335.1 kB / 1.03 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.2267, allocations: 1.569 MB / 1.031 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.2267, allocations: 3.984 kB / 1.031 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2267, allocations: 0 / 1.031 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.946e-05/0.2267, allocations: 0 / 1.031 GB, free: 8.754 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002838/0.2295, allocations: 1.444 MB / 1.033 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2296, allocations: 8.031 kB / 1.033 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/0.2304, allocations: 219.9 kB / 1.033 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.2317, allocations: 0.6929 MB / 1.033 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.2318, allocations: 54.12 kB / 1.033 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2319, allocations: 76 kB / 1.034 GB, free: 6.199 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.2339, allocations: 1.096 MB / 1.035 GB, free: 4.969 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.2339, allocations: 3.938 kB / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.234, allocations: 28 kB / 1.035 GB, free: 4.938 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.234, allocations: 28 kB / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.2356, allocations: 0.8947 MB / 1.036 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.2403, allocations: 3.08 MB / 1.039 GB, free: 0.8359 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2416, allocations: 0.6395 MB / 1.039 GB, free: 176 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.242, allocations: 233.3 kB / 1.039 GB, free: 15.93 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.2421, allocations: 32.62 kB / 1.039 GB, free: 15.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008299/0.2429, allocations: 498.7 kB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=78): time 4.308e-06/0.2429, allocations: 96 / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=78): time 0.001798/0.2447, allocations: 0.8033 MB / 1.041 GB, free: 14.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.2449, allocations: 251.9 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.2459, allocations: 0.7534 MB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.246, allocations: 49.81 kB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/0.2464, allocations: 451.7 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.2467, allocations: 285.9 kB / 1.042 GB, free: 12.72 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.247, allocations: 208.2 kB / 1.043 GB, free: 12.51 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004102/0.2474, allocations: 0.6133 MB / 1.043 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.2478, allocations: 201.9 kB / 1.043 GB, free: 11.69 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.2486, allocations: 0.5142 MB / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.2495, allocations: 0.5244 MB / 1.044 GB, free: 10.56 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2495, allocations: 0 / 1.044 GB, free: 10.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001419/0.2509, allocations: 0.7196 MB / 1.045 GB, free: 9.836 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.251, allocations: 4 kB / 1.045 GB, free: 9.832 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.251, allocations: 4 kB / 1.045 GB, free: 9.828 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.251, allocations: 4 kB / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.2516, allocations: 167.8 kB / 1.045 GB, free: 9.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.2517, allocations: 7.938 kB / 1.045 GB, free: 9.652 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.2522, allocations: 78.03 kB / 1.045 GB, free: 9.578 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.2523, allocations: 48.11 kB / 1.045 GB, free: 9.531 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (101): * Single equations (assignments): 101 * 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.0003711/0.2526, allocations: 267 kB / 1.046 GB, free: 9.258 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.2529, allocations: 111.5 kB / 1.046 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.2546, allocations: 0.8067 MB / 1.047 GB, free: 8.332 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.2546, allocations: 8 kB / 1.047 GB, free: 8.324 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2546, allocations: 0 / 1.047 GB, free: 8.324 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.2546, allocations: 3.984 kB / 1.047 GB, free: 8.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.2578, allocations: 1.854 MB / 1.048 GB, free: 6.402 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2578, allocations: 0 / 1.048 GB, free: 6.402 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/0.2583, allocations: 131.8 kB / 1.049 GB, free: 6.273 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.2583, allocations: 8 kB / 1.049 GB, free: 6.266 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.2584, allocations: 27.97 kB / 1.049 GB, free: 6.238 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.2584, allocations: 4 kB / 1.049 GB, free: 6.234 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2584, allocations: 0 / 1.049 GB, free: 6.234 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.2598, allocations: 0.8855 MB / 1.049 GB, free: 5.328 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.2602, allocations: 187.2 kB / 1.05 GB, free: 5.145 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2604, allocations: 16 kB / 1.05 GB, free: 5.129 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.2608, allocations: 39.97 kB / 1.05 GB, free: 5.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.261, allocations: 68.81 kB / 1.05 GB, free: 5.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.285e-05/0.261, allocations: 35.98 kB / 1.05 GB, free: 4.984 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006613/0.2617, allocations: 490.9 kB / 1.05 GB, free: 4.512 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2617, allocations: 0 / 1.05 GB, free: 4.512 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008532/0.2625, allocations: 295.3 kB / 1.05 GB, free: 4.223 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003458/0.266, allocations: 0.6598 MB / 1.051 GB, free: 3.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.2672, allocations: 0.5998 MB / 1.052 GB, free: 3.168 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2672, allocations: 0 / 1.052 GB, free: 3.168 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.2678, allocations: 331.3 kB / 1.052 GB, free: 2.84 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.269, allocations: 284.1 kB / 1.052 GB, free: 2.578 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2718, allocations: 1.455 MB / 1.054 GB, free: 1.078 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.2723, allocations: 389.5 kB / 1.054 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007065/0.273, allocations: 246.4 kB / 1.054 GB, free: 436 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.2732, allocations: 108.5 kB / 1.054 GB, free: 328 kB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.2732, allocations: 0 / 1.054 GB, free: 328 kB / 1.01 GB Notification: Performance of Templates: time 0.3919/0.6651, allocations: 13.46 MB / 1.068 GB, free: 217.7 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 240] 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.552525297971442]