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.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.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.001405/0.001405, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.001451/0.001451, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.683/2.683, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 151.6 MB / 1.167 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002628/1.009, allocations: 1.233 MB / 1.169 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001261/1.011, allocations: 0.7295 MB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/1.011, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002423/1.011, allocations: 11.92 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.052e-05/1.011, allocations: 8 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.698e-05/1.011, allocations: 15.91 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/1.011, allocations: 0 / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/1.012, allocations: 7.938 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/1.012, allocations: 0 / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/1.012, allocations: 15.92 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/1.012, allocations: 4 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/1.012, allocations: 7.984 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/1.012, allocations: 11.94 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.012, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/1.012, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.92e-06/1.012, allocations: 0 / 1.169 GB, free: 1.898 MB / 0.8887 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.000407/1.012, allocations: 323.3 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/1.012, allocations: 8.922 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/1.012, allocations: 80.22 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/1.013, allocations: 243.7 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.013, allocations: 158.9 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/1.013, allocations: 150.9 kB / 1.17 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/1.013, allocations: 109.5 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/1.013, allocations: 75.47 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/1.013, allocations: 154.5 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/1.013, allocations: 154.6 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/1.013, allocations: 154.6 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/1.014, allocations: 442 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/1.014, allocations: 169.1 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/1.014, allocations: 84.14 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/1.014, allocations: 75.28 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.103e-05/1.014, allocations: 113.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 3.236e-06/1.014, allocations: 3.984 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.524e-05/1.014, allocations: 33.64 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/1.014, allocations: 130.6 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/1.014, allocations: 97.86 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/1.014, allocations: 25.7 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/1.014, allocations: 80.14 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/1.014, allocations: 4 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/1.014, allocations: 9.719 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.015, allocations: 318.8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/1.015, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/1.015, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/1.015, allocations: 79.44 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/1.015, allocations: 75.28 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.442e-05/1.015, allocations: 29.7 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/1.015, allocations: 83.22 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/1.015, allocations: 83.16 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.981e-05/1.015, allocations: 150.6 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.39e-05/1.015, allocations: 87.2 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.505e-05/1.015, allocations: 162.6 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.015, allocations: 79.22 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/1.015, allocations: 79.22 kB / 1.173 GB, free: 13.64 MB / 0.9044 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.0001733/1.016, allocations: 260.4 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/1.016, allocations: 101 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.668e-05/1.016, allocations: 124 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-05/1.016, allocations: 180.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/1.016, allocations: 176.3 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003485/1.016, allocations: 180.4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/1.017, allocations: 401.2 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-05/1.017, allocations: 113 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/1.017, allocations: 105 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/1.017, allocations: 176.3 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.017, allocations: 192.1 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001294/1.017, allocations: 176.3 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001578/1.017, allocations: 180.2 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/1.018, allocations: 315.8 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/1.018, allocations: 182.1 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.018, allocations: 184.2 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/1.018, allocations: 104.9 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.018, allocations: 184.3 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/1.018, allocations: 104.9 kB / 1.177 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.462e-05/1.018, allocations: 83.27 kB / 1.177 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/1.018, allocations: 0 / 1.177 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003173/1.019, allocations: 4 kB / 1.177 GB, free: 9.957 MB / 0.9044 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.0003984/1.019, allocations: 190 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 5.948e-05/1.019, allocations: 0 / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.019, allocations: 4 kB / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/1.019, allocations: 0 / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/1.02, allocations: 459.6 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/1.02, allocations: 176.3 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/1.02, allocations: 0.6767 MB / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.754e-05/1.02, allocations: 0 / 1.178 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/1.02, allocations: 7.438 kB / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/1.02, allocations: 0 / 1.178 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of Templates: time 0.002867/1.023, allocations: 328.1 kB / 1.178 GB, free: 8.117 MB / 0.9044 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 -s cvode -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