Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.001984/0.001984, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.002419/0.002419, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.799/2.799, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 177] 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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9814 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.695e-05, allocations: 5.516 kB / 0.9814 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.009049/0.009086, allocations: 4.14 MB / 0.9855 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.769/0.7781, allocations: 132.7 MB / 1.115 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007613/0.7789, allocations: 20.75 kB / 1.115 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.7794, allocations: 198.8 kB / 1.115 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.7813, allocations: 0.5293 MB / 1.116 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.7832, allocations: 0.7995 MB / 1.117 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.7853, allocations: 1.324 MB / 1.118 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007009/0.786, allocations: 331.1 kB / 1.118 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.7873, allocations: 0.6287 MB / 1.119 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.788, allocations: 351.6 kB / 1.119 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.7883, allocations: 105.5 kB / 1.119 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.7895, allocations: 410.5 kB / 1.12 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.7899, allocations: 274.9 kB / 1.12 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000618/0.7905, allocations: 342 kB / 1.12 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.7935, allocations: 1.559 MB / 1.122 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7935, allocations: 0.5625 kB / 1.122 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7935, allocations: 0.9688 kB / 1.122 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.242e-05/0.7936, allocations: 0 / 1.122 GB, free: 13.32 MB / 0.9981 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.002941/0.7965, allocations: 1.277 MB / 1.123 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.7966, allocations: 11.11 kB / 1.123 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.7973, allocations: 144.2 kB / 1.123 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.7985, allocations: 0.6694 MB / 1.124 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.7986, allocations: 55.27 kB / 1.124 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.7987, allocations: 76.84 kB / 1.124 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.8002, allocations: 1.047 MB / 1.125 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.8002, allocations: 0 / 1.125 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-05/0.8003, allocations: 35.92 kB / 1.125 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.8003, allocations: 17.31 kB / 1.125 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.802, allocations: 0.9333 MB / 1.126 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.8056, allocations: 2.246 MB / 1.128 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.8069, allocations: 0.6878 MB / 1.129 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.8073, allocations: 251.2 kB / 1.129 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.8074, allocations: 31.38 kB / 1.129 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008093/0.8082, allocations: 492.6 kB / 1.129 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.8082, allocations: 0 / 1.129 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78): time 0.001852/0.8101, allocations: 0.8788 MB / 1.13 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.8102, allocations: 252 kB / 1.131 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.8111, allocations: 0.6068 MB / 1.131 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.8112, allocations: 46.77 kB / 1.131 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.8115, allocations: 363.5 kB / 1.132 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.8117, allocations: 261.2 kB / 1.132 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.8121, allocations: 171.8 kB / 1.132 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8122, allocations: 382.3 kB / 1.132 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.8127, allocations: 246.5 kB / 1.133 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.8133, allocations: 0.5078 MB / 1.133 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009045/0.8142, allocations: 0.5717 MB / 1.134 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.8142, allocations: 0.7812 kB / 1.134 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001428/0.8156, allocations: 0.7612 MB / 1.134 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.8156, allocations: 5.469 kB / 1.134 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8156, allocations: 1.781 kB / 1.134 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.8157, allocations: 7.594 kB / 1.134 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.8163, allocations: 155 kB / 1.135 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.8163, allocations: 9.375 kB / 1.135 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.817, allocations: 89.95 kB / 1.135 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.8171, allocations: 36.94 kB / 1.135 GB, free: 8.953 MB / 0.9981 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.0004908/0.8176, allocations: 269.8 kB / 1.135 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.8178, allocations: 85.47 kB / 1.135 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.8195, allocations: 0.8821 MB / 1.136 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.8195, allocations: 13.84 kB / 1.136 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.8195, allocations: 1.094 kB / 1.136 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.8195, allocations: 5.656 kB / 1.136 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.8232, allocations: 1.71 MB / 1.138 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8232, allocations: 0.9688 kB / 1.138 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.8237, allocations: 124.8 kB / 1.138 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.8237, allocations: 9.344 kB / 1.138 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.8237, allocations: 26.81 kB / 1.138 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.8238, allocations: 5.906 kB / 1.138 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8238, allocations: 4.031 kB / 1.138 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.8251, allocations: 0.8508 MB / 1.139 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.8255, allocations: 185 kB / 1.139 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.8257, allocations: 25.45 kB / 1.139 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.8262, allocations: 52.98 kB / 1.139 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.8264, allocations: 68.7 kB / 1.139 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/0.8264, allocations: 30.55 kB / 1.139 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006214/0.8271, allocations: 446.9 kB / 1.139 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8271, allocations: 1.094 kB / 1.139 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001171/0.8282, allocations: 288.2 kB / 1.14 GB, free: 7.816 MB / 0.9981 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.002174/0.8304, allocations: 0.6582 MB / 1.14 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.8318, allocations: 0.6113 MB / 1.141 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8318, allocations: 2.156 kB / 1.141 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.8324, allocations: 316 kB / 1.141 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.8338, allocations: 260.7 kB / 1.141 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.8367, allocations: 1.482 MB / 1.143 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.8372, allocations: 395.3 kB / 1.143 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008275/0.838, allocations: 253.1 kB / 1.143 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.8383, allocations: 108.4 kB / 1.144 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.8383, allocations: 3.938 kB / 1.144 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of Templates: time 0.02684/0.8652, allocations: 13.41 MB / 1.157 GB, free: 5.219 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.314703982323408]