Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00196/0.00196, allocations: 83.75 kB / 20.23 MB, free: 4.18 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.001998/0.001998, allocations: 157.8 kB / 23.54 MB, free: 0.875 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.609/1.609, 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 3.158/3.158, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.832e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.007371/0.007399, allocations: 4.37 MB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.215/0.2224, allocations: 146.2 MB / 0.9578 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008487/0.2232, allocations: 23.81 kB / 0.9579 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.224, allocations: 194.2 kB / 0.9581 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.2262, allocations: 0.5281 MB / 0.9586 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.2285, allocations: 0.7946 MB / 0.9593 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.2305, allocations: 1.323 MB / 0.9606 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.2313, allocations: 331.4 kB / 0.961 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.2327, allocations: 0.6276 MB / 0.9616 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.2335, allocations: 350.9 kB / 0.9619 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.2337, allocations: 104 kB / 0.962 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.235, allocations: 415.4 kB / 0.9624 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.2354, allocations: 275.1 kB / 0.9627 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.2361, allocations: 335.1 kB / 0.963 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.2391, allocations: 1.565 MB / 0.9645 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2392, allocations: 0 / 0.9645 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2392, allocations: 0 / 0.9645 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.854e-05/0.2392, allocations: 4 kB / 0.9645 GB, free: 4.176 MB / 0.9167 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.003325/0.2425, allocations: 1.448 MB / 0.9659 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2426, allocations: 8.031 kB / 0.9659 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.2435, allocations: 219.9 kB / 0.9661 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.2451, allocations: 0.689 MB / 0.9668 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.2451, allocations: 58.12 kB / 0.9669 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.2453, allocations: 75.98 kB / 0.9669 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.2471, allocations: 1.092 MB / 0.968 GB, free: 404 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2471, allocations: 0 / 0.968 GB, free: 404 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.2472, allocations: 28 kB / 0.968 GB, free: 376 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2472, allocations: 16 kB / 0.9681 GB, free: 360 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.2489, allocations: 0.8947 MB / 0.9689 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.2544, allocations: 3.104 MB / 0.972 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.2557, allocations: 0.6355 MB / 0.9726 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.2562, allocations: 233.3 kB / 0.9728 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/0.2563, allocations: 32.64 kB / 0.9728 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/0.2571, allocations: 0.4933 MB / 0.9733 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/0.2572, allocations: 0 / 0.9733 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78): time 0.001832/0.259, allocations: 0.7994 MB / 0.9741 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/0.2592, allocations: 255.9 kB / 0.9743 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.2604, allocations: 0.7535 MB / 0.9751 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.8e-05/0.2605, allocations: 49.69 kB / 0.9751 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/0.2609, allocations: 455.8 kB / 0.9756 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.2613, allocations: 282 kB / 0.9758 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.2616, allocations: 208.2 kB / 0.976 GB, free: 7.922 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000434/0.2621, allocations: 0.6133 MB / 0.9766 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.2625, allocations: 201.9 kB / 0.9768 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007935/0.2633, allocations: 0.5103 MB / 0.9773 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2644, allocations: 0.5244 MB / 0.9778 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2644, allocations: 7.984 kB / 0.9778 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001709/0.2661, allocations: 0.7118 MB / 0.9785 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2661, allocations: 8 kB / 0.9785 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2661, allocations: 0 / 0.9785 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2661, allocations: 4 kB / 0.9785 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.2668, allocations: 163.8 kB / 0.9787 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.2669, allocations: 7.938 kB / 0.9787 GB, free: 5.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.2675, allocations: 79.48 kB / 0.9788 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/0.2675, allocations: 40.12 kB / 0.9788 GB, free: 4.953 MB / 0.9323 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.0004478/0.268, allocations: 275 kB / 0.9791 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.2682, allocations: 103.5 kB / 0.9792 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.2701, allocations: 0.8224 MB / 0.98 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.2701, allocations: 12 kB / 0.98 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2701, allocations: 0 / 0.98 GB, free: 3.723 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2701, allocations: 7.922 kB / 0.98 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.2736, allocations: 1.866 MB / 0.9818 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2736, allocations: 0 / 0.9818 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.2741, allocations: 131.8 kB / 0.9819 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.2741, allocations: 4 kB / 0.982 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.2742, allocations: 23.98 kB / 0.982 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.2742, allocations: 4 kB / 0.982 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2742, allocations: 0 / 0.982 GB, free: 1.625 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.2757, allocations: 0.8894 MB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.2762, allocations: 187.1 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2763, allocations: 24 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.2768, allocations: 39.95 kB / 0.9831 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.277, allocations: 76.81 kB / 0.9832 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.2771, allocations: 27.98 kB / 0.9832 GB, free: 376 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007101/0.2778, allocations: 491 kB / 0.9837 GB, free: 15.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.2778, allocations: 0 / 0.9837 GB, free: 15.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000913/0.2787, allocations: 291.2 kB / 0.9839 GB, free: 15.61 MB / 0.948 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.003567/0.2823, allocations: 0.6557 MB / 0.9846 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.2836, allocations: 0.6037 MB / 0.9852 GB, free: 14.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2836, allocations: 0 / 0.9852 GB, free: 14.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.2843, allocations: 335.3 kB / 0.9855 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.2857, allocations: 303.7 kB / 0.9858 GB, free: 13.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.2888, allocations: 1.45 MB / 0.9872 GB, free: 12.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.2893, allocations: 393 kB / 0.9876 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007914/0.2901, allocations: 238.5 kB / 0.9878 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.2904, allocations: 108.5 kB / 0.9879 GB, free: 11.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/0.2904, allocations: 0 / 0.9879 GB, free: 11.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02798/0.3183, allocations: 13.52 MB / 1.001 GB, free: 14.45 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.055754321976565]