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.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.001971/0.001971, allocations: 79.59 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002433/0.002433, allocations: 165.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.75/2.75, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_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 1.283e-06/1.283e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.299e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006448/0.006471, allocations: 4.156 MB / 0.9854 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.1842, allocations: 132.7 MB / 1.115 GB, free: 2.633 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007286/0.1849, allocations: 27.75 kB / 1.115 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.1855, allocations: 194.2 kB / 1.115 GB, free: 2.414 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.1873, allocations: 0.5383 MB / 1.116 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1892, allocations: 0.7919 MB / 1.117 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.1909, allocations: 1.327 MB / 1.118 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.1915, allocations: 323.4 kB / 1.118 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000943/0.1924, allocations: 0.6315 MB / 1.119 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.1929, allocations: 350.9 kB / 1.119 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.1931, allocations: 104 kB / 1.119 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009345/0.194, allocations: 411.4 kB / 1.12 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.1944, allocations: 279.1 kB / 1.12 GB, free: 13.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.1948, allocations: 331.1 kB / 1.12 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.1969, allocations: 1.562 MB / 1.122 GB, free: 11.78 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1969, allocations: 0 / 1.122 GB, free: 11.78 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1969, allocations: 0 / 1.122 GB, free: 11.78 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.1969, allocations: 4 kB / 1.122 GB, free: 11.77 MB / 1.076 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.002473/0.1994, allocations: 1.276 MB / 1.123 GB, free: 10.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1994, allocations: 8.031 kB / 1.123 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007121/0.2001, allocations: 144.2 kB / 1.123 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2014, allocations: 0.6745 MB / 1.124 GB, free: 9.609 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.2014, allocations: 62.11 kB / 1.124 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2015, allocations: 72 kB / 1.124 GB, free: 9.477 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2031, allocations: 1.054 MB / 1.125 GB, free: 8.309 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2031, allocations: 0 / 1.125 GB, free: 8.309 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/0.2032, allocations: 32 kB / 1.125 GB, free: 8.277 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.2032, allocations: 16 kB / 1.125 GB, free: 8.262 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.2047, allocations: 0.9298 MB / 1.126 GB, free: 7.332 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.2085, allocations: 2.246 MB / 1.128 GB, free: 5.023 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2099, allocations: 0.6892 MB / 1.129 GB, free: 4.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.2103, allocations: 253.4 kB / 1.129 GB, free: 4.062 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.2104, allocations: 32.62 kB / 1.129 GB, free: 4.031 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007596/0.2111, allocations: 483.3 kB / 1.129 GB, free: 3.527 MB / 1.076 GB Notification: Performance of pre-optimization done (n=78): time 3.096e-06/0.2112, allocations: 0 / 1.129 GB, free: 3.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=78): time 0.00166/0.2128, allocations: 0.8814 MB / 1.13 GB, free: 2.645 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.213, allocations: 252 kB / 1.131 GB, free: 2.344 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.2138, allocations: 0.5978 MB / 1.131 GB, free: 1.738 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.2139, allocations: 53.69 kB / 1.131 GB, free: 1.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.2142, allocations: 369 kB / 1.132 GB, free: 1.312 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.2145, allocations: 261.8 kB / 1.132 GB, free: 1.055 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.2147, allocations: 170.7 kB / 1.132 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2149, allocations: 386.8 kB / 1.132 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/0.2154, allocations: 245.9 kB / 1.133 GB, free: 260 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5395/0.7548, allocations: 0.5017 MB / 1.133 GB, free: 194.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.7558, allocations: 0.5785 MB / 1.134 GB, free: 194.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7558, allocations: 0 / 1.134 GB, free: 194.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001227/0.757, allocations: 0.7633 MB / 1.134 GB, free: 194.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.757, allocations: 5.562 kB / 1.134 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.757, allocations: 6 kB / 1.134 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.757, allocations: 5.75 kB / 1.134 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.7576, allocations: 150.9 kB / 1.135 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.7576, allocations: 8.172 kB / 1.135 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.7582, allocations: 84.75 kB / 1.135 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.7583, allocations: 33 kB / 1.135 GB, free: 194.5 MB / 1.076 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.0004104/0.7587, allocations: 275.5 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.7589, allocations: 83 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.7603, allocations: 0.8811 MB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.7603, allocations: 8.281 kB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7603, allocations: 3.938 kB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.7603, allocations: 6.703 kB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.7624, allocations: 1.708 MB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7624, allocations: 1.641 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.7628, allocations: 129.2 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7628, allocations: 2.875 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.7629, allocations: 26.17 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.7629, allocations: 6.875 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7629, allocations: 4.141 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.7639, allocations: 0.8469 MB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.7642, allocations: 188.4 kB / 1.139 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7643, allocations: 18.16 kB / 1.139 GB, free: 192.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.7649, allocations: 64.72 kB / 1.139 GB, free: 192.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.765, allocations: 71.09 kB / 1.139 GB, free: 192.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.7651, allocations: 31.61 kB / 1.139 GB, free: 192.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004448/0.7655, allocations: 435.2 kB / 1.139 GB, free: 192.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7655, allocations: 2.969 kB / 1.139 GB, free: 192.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007628/0.7663, allocations: 289.6 kB / 1.14 GB, free: 192.3 MB / 1.076 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 (89): * Single equations (assignments): 79 * 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.001994/0.7683, allocations: 0.6534 MB / 1.14 GB, free: 192.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009735/0.7692, allocations: 0.6052 MB / 1.141 GB, free: 191.9 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7692, allocations: 3.594 kB / 1.141 GB, free: 191.9 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.7696, allocations: 326.4 kB / 1.141 GB, free: 191.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.7708, allocations: 274.3 kB / 1.141 GB, free: 191.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.7729, allocations: 1.49 MB / 1.143 GB, free: 191 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.7733, allocations: 397 kB / 1.143 GB, free: 190.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006298/0.7739, allocations: 244.4 kB / 1.143 GB, free: 190.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.7741, allocations: 113.3 kB / 1.144 GB, free: 190.8 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/0.7741, allocations: 0 / 1.144 GB, free: 190.8 MB / 1.076 GB Notification: Performance of Templates: time 0.02065/0.7948, allocations: 13.41 MB / 1.157 GB, free: 189.1 MB / 1.076 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.447737496346235]