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.002512/0.002512, allocations: 79.75 kB / 20.23 MB, free: 4.176 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.003042/0.003042, allocations: 153.4 kB / 23.54 MB, free: 0.8672 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.07/3.07, allocations: 377.8 MB / 0.6232 GB, free: 8.551 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 2.615e-06/2.615e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.584e-05/4.845e-05, allocations: 7.344 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007852/0.007901, allocations: 4.363 MB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2164/0.2243, allocations: 146.2 MB / 0.9578 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008596/0.2252, allocations: 23.81 kB / 0.9578 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.2259, allocations: 186.3 kB / 0.958 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.2281, allocations: 0.5359 MB / 0.9585 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.2302, allocations: 0.7868 MB / 0.9593 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001943/0.2321, allocations: 1.327 MB / 0.9606 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007511/0.2329, allocations: 319.4 kB / 0.9609 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.2342, allocations: 0.6354 MB / 0.9615 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007809/0.235, allocations: 348.6 kB / 0.9619 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.2353, allocations: 108 kB / 0.962 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.2362, allocations: 419.4 kB / 0.9624 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.2366, allocations: 271.1 kB / 0.9626 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.2371, allocations: 339.1 kB / 0.9629 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.2396, allocations: 1.565 MB / 0.9645 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2396, allocations: 0 / 0.9645 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2396, allocations: 0 / 0.9645 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.2396, allocations: 0 / 0.9645 GB, free: 4.199 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.002743/0.2424, allocations: 1.452 MB / 0.9659 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2424, allocations: 8.031 kB / 0.9659 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.2432, allocations: 215.9 kB / 0.9661 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.2444, allocations: 0.6968 MB / 0.9668 GB, free: 1.766 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.2445, allocations: 58.12 kB / 0.9668 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2446, allocations: 72 kB / 0.9669 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.2462, allocations: 1.092 MB / 0.968 GB, free: 424 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2463, allocations: 0 / 0.968 GB, free: 424 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.2463, allocations: 32 kB / 0.968 GB, free: 392 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.2464, allocations: 24 kB / 0.968 GB, free: 368 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2479, allocations: 0.8947 MB / 0.9689 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.2525, allocations: 3.088 MB / 0.9719 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.2538, allocations: 0.6526 MB / 0.9726 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.2542, allocations: 221.3 kB / 0.9728 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.2543, allocations: 32.62 kB / 0.9728 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008251/0.2551, allocations: 0.4948 MB / 0.9733 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 2.715e-06/0.2552, allocations: 0 / 0.9733 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78): time 0.0017/0.2569, allocations: 0.8033 MB / 0.9741 GB, free: 10 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.257, allocations: 248 kB / 0.9743 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2581, allocations: 0.7535 MB / 0.975 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/0.2582, allocations: 45.83 kB / 0.9751 GB, free: 8.887 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.2586, allocations: 463.8 kB / 0.9755 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.2589, allocations: 277.9 kB / 0.9758 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.2592, allocations: 208.2 kB / 0.976 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004249/0.2596, allocations: 0.6133 MB / 0.9766 GB, free: 7.316 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.2601, allocations: 201.9 kB / 0.9768 GB, free: 7.117 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.2608, allocations: 0.5181 MB / 0.9773 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.2617, allocations: 0.5244 MB / 0.9778 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2618, allocations: 0 / 0.9778 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0014/0.2632, allocations: 0.7118 MB / 0.9785 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2632, allocations: 7.984 kB / 0.9785 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2632, allocations: 0 / 0.9785 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.2632, allocations: 8 kB / 0.9785 GB, free: 5.254 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.2639, allocations: 163.7 kB / 0.9787 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.2639, allocations: 8 kB / 0.9787 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.2645, allocations: 87.64 kB / 0.9788 GB, free: 5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/0.2645, allocations: 31.98 kB / 0.9788 GB, free: 4.969 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.0004232/0.265, allocations: 278.9 kB / 0.9791 GB, free: 4.684 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.2652, allocations: 103.5 kB / 0.9792 GB, free: 4.582 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.267, allocations: 0.8147 MB / 0.9799 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.267, allocations: 11.94 kB / 0.98 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.267, allocations: 0 / 0.98 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.267, allocations: 7.969 kB / 0.98 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.2702, allocations: 1.866 MB / 0.9818 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2702, allocations: 0 / 0.9818 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.2707, allocations: 127.8 kB / 0.9819 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.2707, allocations: 4 kB / 0.9819 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.2707, allocations: 23.98 kB / 0.9819 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.2708, allocations: 7.938 kB / 0.9819 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2708, allocations: 0 / 0.9819 GB, free: 1.645 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2722, allocations: 0.8934 MB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/0.2726, allocations: 187.1 kB / 0.983 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.2727, allocations: 24 kB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.2732, allocations: 46.81 kB / 0.9831 GB, free: 492 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2733, allocations: 68.81 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/0.2734, allocations: 39.97 kB / 0.9832 GB, free: 384 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006774/0.2741, allocations: 483 kB / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.2741, allocations: 0 / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008601/0.2749, allocations: 295.2 kB / 0.9839 GB, free: 15.62 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.003336/0.2783, allocations: 0.6578 MB / 0.9846 GB, free: 15.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.2794, allocations: 0.592 MB / 0.9851 GB, free: 14.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2794, allocations: 0 / 0.9851 GB, free: 14.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.28, allocations: 335.3 kB / 0.9855 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.2812, allocations: 301.3 kB / 0.9857 GB, free: 13.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.2838, allocations: 1.451 MB / 0.9872 GB, free: 12.47 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.2843, allocations: 392.9 kB / 0.9875 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006482/0.2849, allocations: 242.5 kB / 0.9878 GB, free: 11.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.2852, allocations: 104.5 kB / 0.9879 GB, free: 11.71 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/0.2852, allocations: 0 / 0.9879 GB, free: 11.71 MB / 0.948 GB Notification: Performance of Templates: time 0.02495/0.3101, allocations: 13.5 MB / 1.001 GB, free: 14.46 MB / 0.9636 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 240] 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.024230709066615]