Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 198.7 kB / 16.54 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8244, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.003362/0.8278, allocations: 1.254 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.8291, allocations: 0.7464 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.8291, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.8292, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.8294, allocations: 11.92 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.8296, allocations: 51.86 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.8297, allocations: 19.98 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.8298, allocations: 7.984 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.8298, allocations: 19.92 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.83, allocations: 11.92 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.83, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.83, allocations: 7.984 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.8301, allocations: 4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.8301, allocations: 11.92 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.385e-05/0.8302, allocations: 19.97 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8302, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8303, allocations: 0 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8303, allocations: 8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003432/0.8306, allocations: 325.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.8307, allocations: 8.031 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.8307, allocations: 80.22 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.8309, allocations: 247.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/0.831, allocations: 154.9 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.831, allocations: 158.9 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.175e-05/0.8311, allocations: 101.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.8312, allocations: 79.47 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.8312, allocations: 154.5 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.8313, allocations: 154.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.8313, allocations: 150.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.8316, allocations: 453.9 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.8317, allocations: 173.1 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.8318, allocations: 80.14 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.8318, allocations: 75.28 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.8318, allocations: 109.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.8318, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.385e-05/0.8319, allocations: 33.58 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.832, allocations: 126.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.8321, allocations: 105.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.8322, allocations: 25.7 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.8322, allocations: 88.14 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.8322, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.8323, allocations: 17.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8324, allocations: 310.8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.8324, allocations: 7.938 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.022e-05/0.8324, allocations: 11.98 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.8325, allocations: 12.86 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8325, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.8326, allocations: 53.7 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8326, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.8326, allocations: 3.938 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8327, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.8327, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8327, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.8328, allocations: 3.906 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.8329, allocations: 7.984 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001173/0.833, allocations: 189.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.833, allocations: 105 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.8331, allocations: 116.6 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/0.8332, allocations: 176.3 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.132e-05/0.8333, allocations: 192.2 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.966e-05/0.8334, allocations: 188.2 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.8337, allocations: 397.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-05/0.8337, allocations: 112.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.8338, allocations: 101 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.506e-05/0.8339, allocations: 184.2 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.8339, allocations: 180.2 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-05/0.834, allocations: 180.3 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.896e-05/0.8341, allocations: 184.2 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.8342, allocations: 308 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.8343, allocations: 182.1 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.8344, allocations: 188.2 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.8345, allocations: 108.9 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.8346, allocations: 176.3 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.8346, allocations: 108.9 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.8347, allocations: 87.27 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8347, allocations: 0 / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002753/0.835, allocations: 4 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002822/0.8353, allocations: 191.8 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.668e-05/0.8353, allocations: 12 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8354, allocations: 0 / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.8354, allocations: 0 / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.8358, allocations: 455.7 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.8361, allocations: 184.5 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.8364, allocations: 0.6806 MB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.602e-05/0.8365, allocations: 4 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.8366, allocations: 7.438 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8366, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.002701/0.8393, allocations: 430.6 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches