Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001326/0.001325, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001665/0.001665, allocations: 177.3 kB / 15.94 MB, free: 228 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.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.57/2.57, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7603, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001445/0.7618, allocations: 0.9605 MB / 1.022 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.7629, allocations: 0.6799 MB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.7629, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.763, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.7632, allocations: 7.938 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.145e-05/0.7632, allocations: 8 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.7633, allocations: 3.984 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.7634, allocations: 0 / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.7634, allocations: 4 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.7636, allocations: 7.984 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.7636, allocations: 0 / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.7636, allocations: 7.938 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.7637, allocations: 4 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.7637, allocations: 29.64 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.745e-05/0.7638, allocations: 7.984 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7638, allocations: 0 / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7638, allocations: 0 / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7638, allocations: 0 / 1.022 GB, free: 15.37 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.0003321/0.7642, allocations: 321.3 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7642, allocations: 15.98 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.7643, allocations: 75.28 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.7645, allocations: 242.3 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.7645, allocations: 150.6 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.7646, allocations: 150.6 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.415e-05/0.7647, allocations: 112.9 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.7647, allocations: 79.28 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.7648, allocations: 158.5 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.7648, allocations: 150.6 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/0.7649, allocations: 150.6 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.7652, allocations: 449.9 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/0.7652, allocations: 169.1 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.7653, allocations: 75.28 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.7653, allocations: 109.8 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7653, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.205e-05/0.7654, allocations: 37.59 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.7655, allocations: 130.7 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7656, allocations: 101.8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.7656, allocations: 25.7 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.7657, allocations: 80.14 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.7657, allocations: 4 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.7657, allocations: 0 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7658, allocations: 314.8 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.7658, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.7659, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.7659, allocations: 87.23 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/0.7659, allocations: 83.22 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.903e-05/0.766, allocations: 25.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.766, allocations: 83.28 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.7661, allocations: 75.28 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.679e-05/0.7661, allocations: 158.5 kB / 1.026 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.361e-05/0.7662, allocations: 75.28 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-05/0.7662, allocations: 162.5 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.7664, allocations: 87.27 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.7664, allocations: 75.28 kB / 1.026 GB, free: 11.21 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.0001219/0.7665, allocations: 260.4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.7666, allocations: 104.9 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.7666, allocations: 108.3 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/0.7667, allocations: 196.1 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.512e-05/0.7668, allocations: 180.3 kB / 1.027 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.104e-05/0.7668, allocations: 180.5 kB / 1.027 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.7671, allocations: 405.2 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.7671, allocations: 109 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.7671, allocations: 108.9 kB / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.337e-05/0.7672, allocations: 176.3 kB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.7673, allocations: 180.3 kB / 1.028 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.466e-05/0.7673, allocations: 184.2 kB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/0.7674, allocations: 180.2 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.7675, allocations: 307.8 kB / 1.029 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.7676, allocations: 186 kB / 1.029 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.7677, allocations: 180.3 kB / 1.029 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.7678, allocations: 101 kB / 1.029 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.7678, allocations: 188.2 kB / 1.03 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.7679, allocations: 104.9 kB / 1.03 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.7679, allocations: 83.27 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7679, allocations: 0 / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002462/0.7682, allocations: 8 kB / 1.03 GB, free: 7.527 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.0002264/0.7684, allocations: 179.7 kB / 1.03 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.353e-05/0.7685, allocations: 11.94 kB / 1.03 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7685, allocations: 0 / 1.03 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/0.7685, allocations: 0 / 1.03 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.7687, allocations: 0.5302 MB / 1.03 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.769, allocations: 167.9 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.7692, allocations: 0.6731 MB / 1.031 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.602e-05/0.7693, allocations: 4 kB / 1.031 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.7693, allocations: 7.438 kB / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7693, allocations: 0 / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.002662/0.7719, allocations: 328.9 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches