Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 108 kB / 15.6 MB, free: 132 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.002107/0.002107, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.531/1.531, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.952/2.952, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 72.08 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7479, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002972/0.7509, allocations: 1.25 MB / 1.019 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.7523, allocations: 0.7465 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.7523, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.7524, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.7526, allocations: 7.922 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.7528, allocations: 59.05 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.7529, allocations: 15.94 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.753, allocations: 7.969 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.753, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.7532, allocations: 15.94 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7532, allocations: 3.938 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.335e-05/0.7533, allocations: 15.91 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.7533, allocations: 4 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.7534, allocations: 7.938 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.7535, allocations: 19.97 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7535, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7535, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.7535, allocations: 0 / 1.019 GB, free: 352 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.0004142/0.7539, allocations: 325.5 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.754, allocations: 12.03 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.7541, allocations: 80.2 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.7543, allocations: 247.5 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.7544, allocations: 162.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7545, allocations: 150.9 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.7546, allocations: 105.5 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.7548, allocations: 75.47 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.7549, allocations: 154.5 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.755, allocations: 150.6 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.7551, allocations: 158.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.7555, allocations: 445.9 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.7556, allocations: 177.1 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.7556, allocations: 80.14 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.7557, allocations: 79.28 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/0.7558, allocations: 105.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7558, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.009e-05/0.7559, allocations: 37.62 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.7559, allocations: 126.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.7561, allocations: 105.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7561, allocations: 25.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.7562, allocations: 84.14 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.7562, allocations: 3.938 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.7562, allocations: 21.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.7565, allocations: 318.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.7565, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.7565, allocations: 8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.7566, allocations: 20.84 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7566, allocations: 4.094 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.7567, allocations: 37.7 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7567, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.7567, allocations: 3.938 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.7568, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-06/0.7568, allocations: 3.984 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7568, allocations: 7.875 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.7569, allocations: 7.906 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.7569, allocations: 0 / 1.023 GB, free: 12.85 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.0001363/0.7571, allocations: 190 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.7571, allocations: 105.2 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.7572, allocations: 112.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.6e-05/0.7573, allocations: 188.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-05/0.7574, allocations: 184.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.294e-05/0.7575, allocations: 180.2 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.7578, allocations: 409.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/0.7578, allocations: 101 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.7579, allocations: 104.9 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.48e-05/0.758, allocations: 184.2 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.7581, allocations: 188.1 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.673e-05/0.7582, allocations: 180.3 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.043e-05/0.7583, allocations: 180.2 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.7585, allocations: 308 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.7586, allocations: 190.1 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.7587, allocations: 184.2 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.7588, allocations: 101 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.7589, allocations: 188.2 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.759, allocations: 101 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.759, allocations: 83.28 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.759, allocations: 0 / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002567/0.7593, allocations: 4 kB / 1.026 GB, free: 9.234 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.0003798/0.7597, allocations: 192 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.7598, allocations: 15.92 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7598, allocations: 0 / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.7598, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.7602, allocations: 459.8 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.7605, allocations: 172.8 kB / 1.027 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.7609, allocations: 0.6729 MB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.7609, allocations: 0 / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.7609, allocations: 7.438 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7609, allocations: 0 / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002751/0.7637, allocations: 443.2 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches