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.0009694/0.0009693, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009702/0.0009702, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.414 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.863/2.863, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004139, allocations: 15.94 kB / 0.8722 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 153.8 MB / 1.022 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001859/1.025, allocations: 0.9643 MB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001283/1.026, allocations: 0.676 MB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/1.026, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/1.026, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/1.026, allocations: 15.98 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.474e-05/1.026, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/1.026, allocations: 19.92 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/1.026, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/1.026, allocations: 7.938 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/1.027, allocations: 11.97 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/1.027, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/1.027, allocations: 3.938 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/1.027, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/1.027, allocations: 25.7 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.157e-05/1.027, allocations: 4 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.027, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/1.027, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.027, allocations: 0 / 1.024 GB, free: 14.35 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.0003345/1.027, allocations: 331.3 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.027, allocations: 8.562 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/1.027, allocations: 75.28 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.027, allocations: 238.4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.188e-05/1.028, allocations: 150.6 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/1.028, allocations: 154.5 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/1.028, allocations: 112.9 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.028, allocations: 75.28 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/1.028, allocations: 150.6 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/1.028, allocations: 150.6 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/1.028, allocations: 162.5 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/1.028, allocations: 442 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/1.028, allocations: 169.1 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/1.028, allocations: 80.14 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/1.029, allocations: 79.28 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.226e-05/1.029, allocations: 117.7 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/1.029, allocations: 4 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/1.029, allocations: 25.7 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/1.029, allocations: 126.7 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.029, allocations: 97.86 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/1.029, allocations: 25.7 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/1.029, allocations: 84.14 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/1.029, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.029, allocations: 128 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.029, allocations: 318.8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/1.029, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/1.029, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/1.029, allocations: 79.22 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.625e-05/1.029, allocations: 79.28 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.821e-05/1.03, allocations: 33.64 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/1.03, allocations: 79.28 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/1.03, allocations: 87.27 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/1.03, allocations: 162.4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/1.03, allocations: 75.28 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001029/1.03, allocations: 158.5 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/1.03, allocations: 79.28 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/1.03, allocations: 75.28 kB / 1.028 GB, free: 10.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.03, allocations: 266.4 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/1.031, allocations: 108.9 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/1.031, allocations: 108.1 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001083/1.031, allocations: 192.2 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.664e-05/1.031, allocations: 180.5 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/1.031, allocations: 180.3 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/1.031, allocations: 409.2 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/1.031, allocations: 105 kB / 1.029 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/1.031, allocations: 104.9 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-05/1.032, allocations: 176.3 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.502e-05/1.032, allocations: 176.3 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.186e-05/1.032, allocations: 192.2 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.784e-05/1.032, allocations: 184.2 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/1.032, allocations: 299.8 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.032, allocations: 182.1 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.032, allocations: 188.2 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/1.032, allocations: 105 kB / 1.031 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.032, allocations: 184.2 kB / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/1.033, allocations: 105 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.119e-05/1.033, allocations: 83.27 kB / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/1.033, allocations: 0 / 1.031 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003081/1.033, allocations: 0 / 1.031 GB, free: 6.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003106/1.033, allocations: 194.5 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.233e-05/1.033, allocations: 4 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.033, allocations: 0 / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.033, allocations: 7.875 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/1.034, allocations: 0.524 MB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/1.034, allocations: 163.9 kB / 1.032 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/1.035, allocations: 0.6731 MB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.092e-05/1.035, allocations: 0 / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/1.035, allocations: 11.42 kB / 1.033 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/1.035, allocations: 0 / 1.033 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.002806/1.037, allocations: 299 kB / 1.033 GB, free: 4.539 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/jenkins/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