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.001568/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002064/0.002064, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.63/2.63, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7066, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003316/0.71, allocations: 1.315 MB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.7114, allocations: 0.7228 MB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.7114, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.7115, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.7118, allocations: 15.92 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.712, allocations: 43.94 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.712, allocations: 35.91 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.7121, allocations: 0 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.7122, allocations: 11.98 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.7123, allocations: 15.92 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.7123, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.7124, allocations: 15.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.7125, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.7125, allocations: 11.92 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.7126, allocations: 15.98 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7126, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7127, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7127, allocations: 7.938 kB / 1.019 GB, free: 0.5352 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.0003708/0.713, allocations: 333.5 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7131, allocations: 8.031 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.7132, allocations: 80.22 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.7134, allocations: 251.5 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.7134, allocations: 154.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.7135, allocations: 154.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.7136, allocations: 101.5 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.7136, allocations: 79.41 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.7137, allocations: 154.5 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.7138, allocations: 154.6 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.7138, allocations: 150.6 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.7142, allocations: 457.9 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.7143, allocations: 169.1 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.7143, allocations: 84.08 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.7144, allocations: 79.27 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.7144, allocations: 109.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7144, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.897e-05/0.7145, allocations: 33.64 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.7146, allocations: 126.7 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.7147, allocations: 105.8 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.7148, allocations: 25.7 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.7148, allocations: 84.14 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-06/0.7148, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.7149, allocations: 25.7 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.715, allocations: 310.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.7151, allocations: 7.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.7151, allocations: 11.98 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.7151, allocations: 12.86 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7152, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001394/0.7153, allocations: 41.61 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7153, allocations: 12.11 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7153, allocations: 3.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7154, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-06/0.7154, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.7154, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.7155, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.7155, allocations: 0 / 1.022 GB, free: 13.04 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.0001296/0.7156, allocations: 193.6 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.7157, allocations: 109 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.7158, allocations: 116.4 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.75e-05/0.7158, allocations: 180.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-05/0.7159, allocations: 180.2 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.716, allocations: 180.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.7162, allocations: 409.2 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/0.7163, allocations: 109 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.7164, allocations: 112.9 kB / 1.023 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.7164, allocations: 180.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.7165, allocations: 184.4 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/0.7166, allocations: 180.5 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.34e-05/0.7167, allocations: 184.3 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.7168, allocations: 311.8 kB / 1.024 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/0.7169, allocations: 182 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.717, allocations: 180.2 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.7171, allocations: 109 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.7172, allocations: 184.2 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.7172, allocations: 105 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.7173, allocations: 79.28 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7173, allocations: 0 / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002446/0.7175, allocations: 4 kB / 1.025 GB, free: 9.422 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.0003933/0.7179, allocations: 196.4 kB / 1.025 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.058e-05/0.718, allocations: 7.938 kB / 1.025 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7181, allocations: 4 kB / 1.025 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.7181, allocations: 0 / 1.025 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.7185, allocations: 0.5154 MB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.7188, allocations: 186.5 kB / 1.026 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.7191, allocations: 0.6731 MB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.7192, allocations: 4 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.7192, allocations: 11.42 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.7192, allocations: 0 / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of Templates: time 0.003166/0.7224, allocations: 428.6 kB / 1.027 GB, free: 7.355 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