Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.001358/0.001358, allocations: 92.7 kB / 19.44 MB, free: 324 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.001512/0.001512, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.191/3.191, allocations: 429.6 MB / 0.673 GB, free: 3.883 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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.115e-06, allocations: 4 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.625e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.01018/0.01022, allocations: 4.149 MB / 0.8816 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2143/0.2245, allocations: 132.7 MB / 1.011 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007952/0.2253, allocations: 23.81 kB / 1.011 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.2261, allocations: 194.2 kB / 1.011 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.2282, allocations: 0.5243 MB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.2304, allocations: 0.7869 MB / 1.013 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.2325, allocations: 1.327 MB / 1.014 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000889/0.2334, allocations: 327.3 kB / 1.014 GB, free: 9.988 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2348, allocations: 0.6276 MB / 1.015 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000751/0.2356, allocations: 350.9 kB / 1.015 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003413/0.2359, allocations: 104 kB / 1.015 GB, free: 8.914 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.237, allocations: 411.5 kB / 1.016 GB, free: 8.512 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/0.2374, allocations: 279.1 kB / 1.016 GB, free: 8.238 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.238, allocations: 331.1 kB / 1.016 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.2407, allocations: 1.565 MB / 1.018 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2407, allocations: 0 / 1.018 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2407, allocations: 0 / 1.018 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.2407, allocations: 0 / 1.018 GB, free: 6.344 MB / 0.9792 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.0025/0.2432, allocations: 1.271 MB / 1.019 GB, free: 5.039 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2433, allocations: 12.03 kB / 1.019 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.2441, allocations: 219.9 kB / 1.019 GB, free: 4.812 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.2454, allocations: 0.6979 MB / 1.02 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.2455, allocations: 62.11 kB / 1.02 GB, free: 4.027 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2456, allocations: 76 kB / 1.02 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.2473, allocations: 1.05 MB / 1.021 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2473, allocations: 4 kB / 1.021 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.2474, allocations: 31.98 kB / 1.021 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.2474, allocations: 16 kB / 1.021 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.2489, allocations: 0.9337 MB / 1.022 GB, free: 1.801 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.2529, allocations: 2.261 MB / 1.024 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.2542, allocations: 0.6982 MB / 1.025 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.2547, allocations: 247.6 kB / 1.025 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.2548, allocations: 28.64 kB / 1.025 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.2556, allocations: 491.3 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 2.395e-06/0.2556, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.00272/0.2583, allocations: 0.8971 MB / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002566/0.2586, allocations: 259.9 kB / 1.027 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.26, allocations: 0.6017 MB / 1.027 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.2602, allocations: 45.7 kB / 1.027 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.2607, allocations: 369.1 kB / 1.028 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.2611, allocations: 257.8 kB / 1.028 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.2615, allocations: 170.6 kB / 1.028 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003324/0.2619, allocations: 382.8 kB / 1.029 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/0.2626, allocations: 249.9 kB / 1.029 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2637, allocations: 0.5116 MB / 1.029 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.2653, allocations: 0.5703 MB / 1.03 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2653, allocations: 0 / 1.03 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002364/0.2677, allocations: 0.7939 MB / 1.031 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.2677, allocations: 7.938 kB / 1.031 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2677, allocations: 4 kB / 1.031 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/0.2677, allocations: 4.156 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.2687, allocations: 155.8 kB / 1.031 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.978e-05/0.2688, allocations: 11.92 kB / 1.031 GB, free: 8.555 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/0.2698, allocations: 87.53 kB / 1.031 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.2699, allocations: 35.98 kB / 1.031 GB, free: 8.434 MB / 0.9948 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.000705/0.2706, allocations: 272.2 kB / 1.031 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.2709, allocations: 103.5 kB / 1.031 GB, free: 8.055 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.2736, allocations: 0.877 MB / 1.032 GB, free: 7.176 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.2737, allocations: 12 kB / 1.032 GB, free: 7.164 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2737, allocations: 0 / 1.032 GB, free: 7.164 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.2737, allocations: 3.984 kB / 1.032 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.2782, allocations: 1.703 MB / 1.034 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2782, allocations: 0 / 1.034 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.279, allocations: 127.8 kB / 1.034 GB, free: 5.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/0.2791, allocations: 7.984 kB / 1.034 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.2791, allocations: 19.98 kB / 1.034 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.2791, allocations: 4 kB / 1.034 GB, free: 5.238 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2791, allocations: 4.031 kB / 1.034 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.2814, allocations: 0.8823 MB / 1.035 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/0.2821, allocations: 191.1 kB / 1.035 GB, free: 4.148 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.2823, allocations: 20 kB / 1.035 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.2832, allocations: 57.66 kB / 1.035 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.2834, allocations: 68.81 kB / 1.035 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/0.2835, allocations: 31.98 kB / 1.035 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009766/0.2845, allocations: 435 kB / 1.036 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.2845, allocations: 0 / 1.036 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001485/0.286, allocations: 295.2 kB / 1.036 GB, free: 3.27 MB / 0.9948 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.003391/0.2894, allocations: 0.6536 MB / 1.037 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.2913, allocations: 0.6098 MB / 1.037 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2913, allocations: 4.312 kB / 1.037 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.2922, allocations: 313.6 kB / 1.037 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.2941, allocations: 291.6 kB / 1.038 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.2984, allocations: 1.521 MB / 1.039 GB, free: 68 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.2992, allocations: 392.9 kB / 1.04 GB, free: 15.65 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001018/0.3002, allocations: 250.5 kB / 1.04 GB, free: 15.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.3005, allocations: 104.5 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.3005, allocations: 0 / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of Templates: time 0.02677/0.3272, allocations: 13.49 MB / 1.053 GB, free: 2.086 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.422155520995148]