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.001417/0.001417, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001612/0.001612, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.703/1.703, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.968/2.968, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.161e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006811/0.006843, allocations: 4.157 MB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1919/0.1987, allocations: 132.7 MB / 0.9444 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009619/0.1997, allocations: 23.81 kB / 0.9444 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.2006, allocations: 186.3 kB / 0.9446 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.2028, allocations: 0.5321 MB / 0.9451 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.205, allocations: 0.7791 MB / 0.9459 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.207, allocations: 1.327 MB / 0.9472 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007768/0.2078, allocations: 331.3 kB / 0.9475 GB, free: 5.641 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.209, allocations: 0.6315 MB / 0.9481 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.2095, allocations: 356.5 kB / 0.9484 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.2097, allocations: 108 kB / 0.9486 GB, free: 4.555 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008279/0.2105, allocations: 407.5 kB / 0.9489 GB, free: 4.156 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.2108, allocations: 275.1 kB / 0.9492 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.2112, allocations: 331.2 kB / 0.9495 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.2134, allocations: 1.569 MB / 0.9511 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2134, allocations: 0 / 0.9511 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2134, allocations: 0 / 0.9511 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.2134, allocations: 0 / 0.9511 GB, free: 1.988 MB / 0.9011 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.002541/0.2159, allocations: 1.274 MB / 0.9523 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.216, allocations: 12.03 kB / 0.9523 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.2168, allocations: 227.8 kB / 0.9525 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.2181, allocations: 0.6902 MB / 0.9532 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.2182, allocations: 62.11 kB / 0.9533 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.2183, allocations: 79.94 kB / 0.9533 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.2202, allocations: 1.043 MB / 0.9544 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2202, allocations: 4 kB / 0.9544 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.2203, allocations: 39.98 kB / 0.9544 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2203, allocations: 16 kB / 0.9544 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.2219, allocations: 0.9298 MB / 0.9553 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/0.2263, allocations: 2.258 MB / 0.9575 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.2277, allocations: 0.692 MB / 0.9582 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.2281, allocations: 254.2 kB / 0.9584 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.2282, allocations: 32.62 kB / 0.9585 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008532/0.2291, allocations: 499.6 kB / 0.9589 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.2291, allocations: 112 / 0.9589 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.001851/0.2309, allocations: 0.9034 MB / 0.9598 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/0.2311, allocations: 256 kB / 0.9601 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/0.2321, allocations: 0.6018 MB / 0.9607 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.615e-05/0.2322, allocations: 49.69 kB / 0.9607 GB, free: 7.742 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.2325, allocations: 365.1 kB / 0.9611 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.2328, allocations: 257.9 kB / 0.9613 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.2331, allocations: 170.5 kB / 0.9615 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002643/0.2334, allocations: 386.8 kB / 0.9618 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.2338, allocations: 245.9 kB / 0.9621 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.2346, allocations: 0.5116 MB / 0.9626 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2356, allocations: 0.5703 MB / 0.9631 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2356, allocations: 0 / 0.9631 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001519/0.2372, allocations: 0.7938 MB / 0.9639 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2372, allocations: 4 kB / 0.9639 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2372, allocations: 0 / 0.9639 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.2372, allocations: 8 kB / 0.9639 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/0.2379, allocations: 151.7 kB / 0.9641 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2379, allocations: 12.16 kB / 0.9641 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.2385, allocations: 85.14 kB / 0.9642 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.2386, allocations: 39.97 kB / 0.9642 GB, free: 4.078 MB / 0.9167 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.0004383/0.239, allocations: 272.1 kB / 0.9644 GB, free: 3.805 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.2392, allocations: 103.5 kB / 0.9645 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.241, allocations: 0.8849 MB / 0.9654 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.241, allocations: 15.98 kB / 0.9654 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.241, allocations: 4 kB / 0.9654 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2411, allocations: 3.984 kB / 0.9654 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.244, allocations: 1.707 MB / 0.9671 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.244, allocations: 3.938 kB / 0.9671 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.2446, allocations: 127.9 kB / 0.9672 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.2446, allocations: 4 kB / 0.9672 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.2446, allocations: 27.91 kB / 0.9673 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2446, allocations: 4 kB / 0.9673 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2446, allocations: 4.031 kB / 0.9673 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.2463, allocations: 0.8785 MB / 0.9681 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.2467, allocations: 191.1 kB / 0.9683 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.2468, allocations: 27.94 kB / 0.9683 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.2474, allocations: 55.94 kB / 0.9684 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.2475, allocations: 68.81 kB / 0.9685 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.2476, allocations: 31.98 kB / 0.9685 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006368/0.2482, allocations: 435 kB / 0.9689 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.2482, allocations: 4 kB / 0.9689 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008841/0.2491, allocations: 291.3 kB / 0.9692 GB, free: 14.88 MB / 0.9323 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.002473/0.2516, allocations: 0.6642 MB / 0.9698 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.2529, allocations: 0.6099 MB / 0.9704 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2529, allocations: 320 / 0.9704 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.2534, allocations: 321.6 kB / 0.9707 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.2548, allocations: 282.2 kB / 0.971 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.2579, allocations: 1.515 MB / 0.9725 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.2584, allocations: 400.9 kB / 0.9729 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0007943/0.2592, allocations: 254.5 kB / 0.9731 GB, free: 11 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.2594, allocations: 104.5 kB / 0.9732 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of SimCode: time 9.32e-07/0.2594, allocations: 0 / 0.9732 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.02734/0.2868, allocations: 13.51 MB / 0.9864 GB, free: 13.64 MB / 0.948 GB " [Timeout remaining time 300] 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: 8.894728214945644]