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.001161/0.001161, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0089/0.0089, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.687/2.687, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7527, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001307/0.754, allocations: 0.9913 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.7551, allocations: 0.7151 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.7552, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.7552, allocations: 3.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.7555, allocations: 7.969 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.7557, allocations: 47.94 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.7558, allocations: 27.92 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.312e-05/0.7559, allocations: 8 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.756, allocations: 7.984 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.7562, allocations: 19.86 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.7562, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.7563, allocations: 7.984 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.7564, allocations: 11.98 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.7564, allocations: 33.64 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.7565, allocations: 15.97 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7566, allocations: 4 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7566, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.7566, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.7794 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.00043/0.757, allocations: 321.5 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.7571, allocations: 8.031 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.7572, allocations: 80.22 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.7574, allocations: 255.4 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.7575, allocations: 150.9 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.7575, allocations: 158.9 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.7576, allocations: 109.4 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.7577, allocations: 75.47 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.7578, allocations: 158.5 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.7578, allocations: 150.6 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.7579, allocations: 150.6 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.7582, allocations: 453.9 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.7584, allocations: 169.1 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.7584, allocations: 80.14 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.7584, allocations: 79.28 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.7585, allocations: 109.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.7585, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.427e-05/0.7586, allocations: 29.64 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.7587, allocations: 138.6 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.7588, allocations: 101.9 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.7589, allocations: 29.7 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.7589, allocations: 84.12 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.7589, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.759, allocations: 13.72 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7591, allocations: 310.8 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.7592, allocations: 4 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.7592, allocations: 15.98 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.7593, allocations: 12.86 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7593, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.7594, allocations: 41.62 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.7594, allocations: 12.12 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7594, allocations: 3.938 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.7595, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.7595, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.7595, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.7596, allocations: 4 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.7596, allocations: 4 kB / 1.028 GB, free: 10.46 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.0001238/0.7597, allocations: 185.6 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.7598, allocations: 112.9 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/0.7599, allocations: 120.3 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-05/0.76, allocations: 176.3 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-05/0.76, allocations: 180.3 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.188e-05/0.7601, allocations: 188.2 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.7604, allocations: 397.5 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-05/0.7605, allocations: 120.9 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.7605, allocations: 105 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.781e-05/0.7606, allocations: 176.3 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/0.7607, allocations: 188.1 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.039e-05/0.7607, allocations: 180.4 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.552e-05/0.7608, allocations: 192.2 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.761, allocations: 307.8 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.7611, allocations: 182.1 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.7612, allocations: 184.2 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.7613, allocations: 104.9 kB / 1.031 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.7614, allocations: 184.3 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.7614, allocations: 108.9 kB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.081e-05/0.7615, allocations: 83.27 kB / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7615, allocations: 0 / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002634/0.7618, allocations: 4 kB / 1.031 GB, free: 6.832 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.0004082/0.7622, allocations: 186.5 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.346e-05/0.7622, allocations: 8 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7623, allocations: 0 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.7623, allocations: 0 / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.7627, allocations: 0.5285 MB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.763, allocations: 187.9 kB / 1.032 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.7633, allocations: 0.6731 MB / 1.033 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.7633, allocations: 0 / 1.033 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.7634, allocations: 7.438 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7634, allocations: 0 / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.003002/0.7664, allocations: 409.3 kB / 1.033 GB, free: 4.793 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=480 -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