Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007924/0.007924, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001652/0.001652, allocations: 198.2 kB / 16.79 MB, free: 5.809 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.473/1.473, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437 MB / 0.7106 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.88 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.75, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002613/0.7527, allocations: 1.303 MB / 1.019 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.7538, allocations: 0.6956 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.7539, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.7539, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.7542, allocations: 19.91 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.599e-05/0.7542, allocations: 8 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.7543, allocations: 11.98 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.7544, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.7544, allocations: 4 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.7546, allocations: 10.02 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.7546, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.7546, allocations: 19.92 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.7547, allocations: 11.92 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.7547, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.766e-05/0.7548, allocations: 7.984 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7548, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7548, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.7548, allocations: 0 / 1.019 GB, free: 0.6484 MB / 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.0003126/0.7551, allocations: 323.5 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7552, allocations: 12.02 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.7553, allocations: 80.22 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.7555, allocations: 239.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.7555, allocations: 154.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.7556, allocations: 154.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.312e-05/0.7557, allocations: 101.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.7557, allocations: 83.41 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.7558, allocations: 158.5 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.7558, allocations: 150.6 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.7559, allocations: 158.5 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.7562, allocations: 445.9 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.525e-05/0.7563, allocations: 169.1 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.7563, allocations: 84.08 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.7564, allocations: 79.28 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.7564, allocations: 105.8 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7564, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.738e-05/0.7565, allocations: 29.64 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7566, allocations: 130.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.7567, allocations: 105.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.7567, allocations: 25.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.7568, allocations: 84.14 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.7568, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.7568, allocations: 9.719 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7569, allocations: 310.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.7569, allocations: 8.062 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.7569, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.757, allocations: 75.28 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.412e-05/0.757, allocations: 83.27 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.581e-05/0.7571, allocations: 29.7 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.7571, allocations: 79.28 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.7571, allocations: 83.16 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.174e-05/0.7572, allocations: 150.6 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.641e-05/0.7572, allocations: 83.31 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.281e-05/0.7573, allocations: 154.5 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.7574, allocations: 79.27 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.7575, allocations: 83.2 kB / 1.023 GB, free: 12.39 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 (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 prepare postOptimizeDAE: time 0.0001174/0.7576, allocations: 266.9 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.7577, allocations: 105 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.7577, allocations: 116.1 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.318e-05/0.7578, allocations: 180.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-05/0.7579, allocations: 180.5 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-05/0.7579, allocations: 184.2 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.7581, allocations: 405.3 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.7582, allocations: 105 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.7582, allocations: 104.9 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.047e-05/0.7583, allocations: 180.3 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.7584, allocations: 188.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.208e-05/0.7584, allocations: 176.3 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.329e-05/0.7585, allocations: 184.2 kB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.7586, allocations: 303.8 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.7587, allocations: 182 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.7588, allocations: 196.1 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.7589, allocations: 101 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.759, allocations: 188.2 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.759, allocations: 104.9 kB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.7591, allocations: 83.28 kB / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7591, allocations: 0 / 1.027 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002855/0.7593, allocations: 4 kB / 1.027 GB, free: 8.703 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.0003436/0.7597, allocations: 192.3 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.003e-05/0.7598, allocations: 7.938 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7598, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7598, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.7601, allocations: 0.5165 MB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.7604, allocations: 193.6 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.7607, allocations: 0.677 MB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.7607, allocations: 7.438 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.7607, allocations: 0 / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.001814/0.7625, allocations: 469.5 kB / 1.029 GB, free: 6.598 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches