Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001791/0.001791, allocations: 85.48 kB / 19.44 MB, free: 344 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.001911/0.001911, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.546/1.546, 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.324/3.324, 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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.16e-05, allocations: 8.922 kB / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007086/0.007117, allocations: 4.373 MB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2002/0.2073, allocations: 146.2 MB / 1.024 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.208, allocations: 15.88 kB / 1.025 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.2086, allocations: 190.1 kB / 1.025 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.2103, allocations: 0.5321 MB / 1.025 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.2122, allocations: 0.7868 MB / 1.026 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.2136, allocations: 1.323 MB / 1.027 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.2142, allocations: 323.4 kB / 1.028 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.2151, allocations: 0.6276 MB / 1.028 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.2156, allocations: 354.9 kB / 1.029 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.2158, allocations: 104 kB / 1.029 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.2166, allocations: 411.4 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.2169, allocations: 279.1 kB / 1.029 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.2173, allocations: 331.1 kB / 1.03 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.2193, allocations: 1.565 MB / 1.031 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2193, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2193, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.2193, allocations: 0 / 1.031 GB, free: 8.711 MB / 0.9948 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.002627/0.222, allocations: 1.448 MB / 1.033 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.222, allocations: 16.02 kB / 1.033 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.2228, allocations: 219.9 kB / 1.033 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.224, allocations: 0.6851 MB / 1.033 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.2241, allocations: 66.11 kB / 1.033 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.2242, allocations: 80 kB / 1.034 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.2258, allocations: 1.092 MB / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2258, allocations: 0 / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.2259, allocations: 32 kB / 1.035 GB, free: 4.879 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.2259, allocations: 16 kB / 1.035 GB, free: 4.863 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.2275, allocations: 0.8869 MB / 1.036 GB, free: 3.977 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.232, allocations: 3.092 MB / 1.039 GB, free: 0.7852 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2333, allocations: 0.6279 MB / 1.039 GB, free: 136 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.2338, allocations: 240.5 kB / 1.039 GB, free: 15.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.56e-05/0.2338, allocations: 28.58 kB / 1.039 GB, free: 15.87 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008061/0.2346, allocations: 0.4948 MB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=78): time 1.883e-06/0.2346, allocations: 0 / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=78): time 0.001618/0.2363, allocations: 0.7994 MB / 1.041 GB, free: 14.53 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/0.2364, allocations: 256 kB / 1.041 GB, free: 14.23 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.2374, allocations: 0.7573 MB / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.2375, allocations: 45.69 kB / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.2379, allocations: 455.8 kB / 1.042 GB, free: 12.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.2382, allocations: 281.9 kB / 1.042 GB, free: 12.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003234/0.2385, allocations: 204.2 kB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003991/0.2389, allocations: 0.6133 MB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.2393, allocations: 201.9 kB / 1.043 GB, free: 11.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.24, allocations: 0.5142 MB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009348/0.241, allocations: 0.5283 MB / 1.044 GB, free: 10.51 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.241, allocations: 64 / 1.044 GB, free: 10.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001352/0.2423, allocations: 0.7235 MB / 1.045 GB, free: 9.785 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2424, allocations: 10.5 kB / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2424, allocations: 0 / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2424, allocations: 4 kB / 1.045 GB, free: 9.773 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/0.243, allocations: 163.9 kB / 1.045 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.243, allocations: 11.94 kB / 1.045 GB, free: 9.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.2435, allocations: 78.11 kB / 1.045 GB, free: 9.527 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.2436, allocations: 35.98 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.0003809/0.244, allocations: 275 kB / 1.046 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.2444, allocations: 103.5 kB / 1.046 GB, free: 9.109 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.2461, allocations: 0.8067 MB / 1.047 GB, free: 8.293 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.2461, allocations: 15.98 kB / 1.047 GB, free: 8.277 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2461, allocations: 0 / 1.047 GB, free: 8.277 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.2461, allocations: 7.984 kB / 1.047 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.2491, allocations: 1.858 MB / 1.048 GB, free: 6.348 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.2492, allocations: 4 kB / 1.048 GB, free: 6.344 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.2496, allocations: 123.8 kB / 1.049 GB, free: 6.223 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2496, allocations: 4 kB / 1.049 GB, free: 6.219 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.2497, allocations: 23.98 kB / 1.049 GB, free: 6.195 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.2497, allocations: 4 kB / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2497, allocations: 3.938 kB / 1.049 GB, free: 6.188 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.2512, allocations: 0.8816 MB / 1.049 GB, free: 5.285 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.2516, allocations: 187.2 kB / 1.05 GB, free: 5.102 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.2517, allocations: 28.02 kB / 1.05 GB, free: 5.074 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.2522, allocations: 39.97 kB / 1.05 GB, free: 5.035 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.2524, allocations: 68.81 kB / 1.05 GB, free: 4.965 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.2524, allocations: 31.98 kB / 1.05 GB, free: 4.934 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006877/0.2531, allocations: 487 kB / 1.05 GB, free: 4.465 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.2531, allocations: 0 / 1.05 GB, free: 4.465 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009344/0.2541, allocations: 291.3 kB / 1.051 GB, free: 4.18 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.003426/0.2575, allocations: 0.6701 MB / 1.051 GB, free: 3.715 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.2587, allocations: 0.5881 MB / 1.052 GB, free: 3.125 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2587, allocations: 3.938 kB / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.2593, allocations: 331.3 kB / 1.052 GB, free: 2.793 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.2605, allocations: 303.8 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.002791/0.2633, allocations: 1.439 MB / 1.054 GB, free: 1.027 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.2638, allocations: 397.4 kB / 1.054 GB, free: 0.6133 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006569/0.2644, allocations: 238.5 kB / 1.054 GB, free: 384 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.2647, allocations: 100.5 kB / 1.054 GB, free: 284 kB / 1.01 GB Notification: Performance of SimCode: time 8.61e-07/0.2647, allocations: 0 / 1.054 GB, free: 284 kB / 1.01 GB Notification: Performance of Templates: time 0.3831/0.6478, allocations: 13.48 MB / 1.068 GB, free: 217.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.374179095029831]