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.001901/0.001901, allocations: 93.47 kB / 19.44 MB, free: 336 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.001973/0.001973, allocations: 169.2 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.345/3.345, allocations: 429.5 MB / 0.6729 GB, free: 4.023 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 1.713e-06/1.713e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.079e-05, allocations: 5.547 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.0104/0.01043, allocations: 4.369 MB / 0.8817 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2122/0.2227, allocations: 146.2 MB / 1.024 GB, free: 15.55 MB / 0.9949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008913/0.2236, allocations: 19.88 kB / 1.025 GB, free: 15.54 MB / 0.9949 GB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.2242, allocations: 190.2 kB / 1.025 GB, free: 15.35 MB / 0.9949 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.226, allocations: 0.5359 MB / 1.025 GB, free: 14.81 MB / 0.9949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.228, allocations: 0.7868 MB / 1.026 GB, free: 14.02 MB / 0.9949 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.2297, allocations: 1.319 MB / 1.027 GB, free: 12.69 MB / 0.9949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.2303, allocations: 327.4 kB / 1.028 GB, free: 12.35 MB / 0.9949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.2313, allocations: 0.6275 MB / 1.028 GB, free: 11.72 MB / 0.9949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.2318, allocations: 351 kB / 1.029 GB, free: 11.38 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.232, allocations: 108 kB / 1.029 GB, free: 11.27 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008897/0.2329, allocations: 407.4 kB / 1.029 GB, free: 10.88 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.2332, allocations: 279.1 kB / 1.029 GB, free: 10.6 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.2337, allocations: 331.1 kB / 1.03 GB, free: 10.28 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.2361, allocations: 1.565 MB / 1.031 GB, free: 8.707 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2361, allocations: 0 / 1.031 GB, free: 8.707 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2361, allocations: 0 / 1.031 GB, free: 8.707 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.2361, allocations: 0 / 1.031 GB, free: 8.707 MB / 0.9949 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.002719/0.2388, allocations: 1.452 MB / 1.033 GB, free: 7.215 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2389, allocations: 8.031 kB / 1.033 GB, free: 7.207 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/0.2397, allocations: 223.9 kB / 1.033 GB, free: 6.988 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.241, allocations: 0.689 MB / 1.033 GB, free: 6.27 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.241, allocations: 54.12 kB / 1.033 GB, free: 6.219 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.2412, allocations: 79.98 kB / 1.034 GB, free: 6.141 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.2428, allocations: 1.092 MB / 1.035 GB, free: 4.914 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.2428, allocations: 7.984 kB / 1.035 GB, free: 4.906 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.2429, allocations: 32 kB / 1.035 GB, free: 4.875 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.2429, allocations: 20 kB / 1.035 GB, free: 4.855 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.2445, allocations: 0.8908 MB / 1.036 GB, free: 3.965 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.2493, allocations: 3.098 MB / 1.039 GB, free: 0.7695 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.2506, allocations: 0.6279 MB / 1.039 GB, free: 120 kB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.251, allocations: 233.2 kB / 1.039 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.2511, allocations: 24.64 kB / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008348/0.2519, allocations: 0.4909 MB / 1.04 GB, free: 15.33 MB / 1.01 GB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.2519, allocations: 0 / 1.04 GB, free: 15.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=78): time 0.001718/0.2537, allocations: 0.7994 MB / 1.041 GB, free: 14.53 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001914/0.2538, allocations: 259.9 kB / 1.041 GB, free: 14.22 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2549, allocations: 0.7535 MB / 1.042 GB, free: 13.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/0.2549, allocations: 49.7 kB / 1.042 GB, free: 13.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.2554, allocations: 451.8 kB / 1.042 GB, free: 12.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.2557, allocations: 277.9 kB / 1.042 GB, free: 12.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.256, allocations: 212.2 kB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004234/0.2564, allocations: 0.6094 MB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.2569, allocations: 205.9 kB / 1.043 GB, free: 11.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.2576, allocations: 0.5103 MB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.2587, allocations: 0.5283 MB / 1.044 GB, free: 10.51 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2587, allocations: 0 / 1.044 GB, free: 10.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001567/0.2603, allocations: 0.7196 MB / 1.045 GB, free: 9.785 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2603, allocations: 4 kB / 1.045 GB, free: 9.781 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2603, allocations: 4 kB / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2603, allocations: 4 kB / 1.045 GB, free: 9.773 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.261, allocations: 163.8 kB / 1.045 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.261, allocations: 12.09 kB / 1.045 GB, free: 9.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.2616, allocations: 81.08 kB / 1.045 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.2616, allocations: 32.09 kB / 1.045 GB, free: 9.492 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.0004044/0.262, allocations: 278.9 kB / 1.046 GB, free: 9.207 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.2623, allocations: 107.5 kB / 1.046 GB, free: 9.102 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.264, allocations: 0.8106 MB / 1.047 GB, free: 8.281 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.264, allocations: 8 kB / 1.047 GB, free: 8.273 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.264, allocations: 0 / 1.047 GB, free: 8.273 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.264, allocations: 3.984 kB / 1.047 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.2673, allocations: 1.862 MB / 1.048 GB, free: 6.344 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2673, allocations: 0 / 1.048 GB, free: 6.344 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.2678, allocations: 127.8 kB / 1.049 GB, free: 6.219 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.2678, allocations: 4 kB / 1.049 GB, free: 6.215 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.2678, allocations: 23.98 kB / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2678, allocations: 0 / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2678, allocations: 4 kB / 1.049 GB, free: 6.188 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.2693, allocations: 0.8855 MB / 1.049 GB, free: 5.281 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.2697, allocations: 187.1 kB / 1.05 GB, free: 5.098 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.2699, allocations: 20 kB / 1.05 GB, free: 5.078 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.2703, allocations: 43.98 kB / 1.05 GB, free: 5.035 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.2705, allocations: 72.81 kB / 1.05 GB, free: 4.961 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.2705, allocations: 27.98 kB / 1.05 GB, free: 4.934 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006639/0.2712, allocations: 487 kB / 1.05 GB, free: 4.465 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.2712, allocations: 0 / 1.05 GB, free: 4.465 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008829/0.2721, allocations: 295.3 kB / 1.051 GB, free: 4.176 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.003464/0.2755, allocations: 0.6582 MB / 1.051 GB, free: 3.723 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.2769, allocations: 0.5998 MB / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.2769, allocations: 7.938 kB / 1.052 GB, free: 3.113 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.2775, allocations: 327.3 kB / 1.052 GB, free: 2.789 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.2788, allocations: 304.3 kB / 1.052 GB, free: 2.512 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.2816, allocations: 1.451 MB / 1.054 GB, free: 1.016 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.2821, allocations: 388.8 kB / 1.054 GB, free: 0.6094 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006951/0.2828, allocations: 230.5 kB / 1.054 GB, free: 388 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.2831, allocations: 112.4 kB / 1.054 GB, free: 276 kB / 1.01 GB Notification: Performance of SimCode: time 1.143e-06/0.2831, allocations: 0 / 1.054 GB, free: 276 kB / 1.01 GB Notification: Performance of Templates: time 0.3914/0.6745, allocations: 13.48 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_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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) [Timeout 240] 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.447849792079069]