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.00111/0.00111, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001361/0.001361, allocations: 172.7 kB / 15.95 MB, free: 208 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.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.915/2.915, allocations: 462.6 MB / 0.736 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 15.25 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3824, allocations: 159.6 MB / 1.058 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001951/0.3844, allocations: 0.955 MB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3856, allocations: 0.6915 MB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.3857, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.3857, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3859, allocations: 8 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.733e-05/0.386, allocations: 4 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.3861, allocations: 23.91 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.3862, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.3862, allocations: 4 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3863, allocations: 7.984 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3864, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.3864, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.3865, allocations: 15.92 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.3865, allocations: 25.7 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.25e-05/0.3866, allocations: 4 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3866, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3866, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3866, allocations: 4 kB / 1.06 GB, free: 3.516 MB / 0.8106 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.0002926/0.3869, allocations: 319.3 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.387, allocations: 8.031 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.3871, allocations: 75.28 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.3873, allocations: 242.3 kB / 1.06 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.3874, allocations: 154.6 kB / 1.06 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.3875, allocations: 162.5 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/0.3876, allocations: 101 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.3876, allocations: 75.28 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.3877, allocations: 154.5 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.3877, allocations: 154.6 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.3878, allocations: 150.6 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3881, allocations: 446 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.3882, allocations: 173.1 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.3883, allocations: 84.08 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.3883, allocations: 79.23 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.3884, allocations: 109.8 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.3884, allocations: 0 / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001022/0.3885, allocations: 29.7 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3886, allocations: 126.7 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3887, allocations: 93.86 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3888, allocations: 29.7 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3888, allocations: 80.14 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.3888, allocations: 4.125 kB / 1.062 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-07/0.3888, allocations: 3.938 kB / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.389, allocations: 318.8 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.389, allocations: 0 / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.389, allocations: 3.938 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.3891, allocations: 79.28 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.039e-05/0.3891, allocations: 75.28 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.235e-05/0.3892, allocations: 25.7 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.3893, allocations: 91.27 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.3893, allocations: 79.22 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.919e-05/0.3894, allocations: 154.6 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.924e-05/0.3894, allocations: 79.27 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.521e-05/0.3895, allocations: 158.5 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3897, allocations: 79.28 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3897, allocations: 83.38 kB / 1.064 GB, free: 15.29 MB / 0.8262 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.0001513/0.3899, allocations: 260.7 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.3899, allocations: 105 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.39, allocations: 116 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.212e-05/0.3901, allocations: 184.2 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001/0.3902, allocations: 188.2 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-05/0.3903, allocations: 180.2 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3906, allocations: 401.2 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.502e-05/0.3906, allocations: 101 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.3907, allocations: 104.9 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/0.3908, allocations: 180.3 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/0.3909, allocations: 192.2 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.129e-05/0.391, allocations: 180.2 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.506e-05/0.3911, allocations: 180.2 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3913, allocations: 307.8 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.3914, allocations: 194 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.3915, allocations: 180.3 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.3916, allocations: 101 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.3917, allocations: 184.2 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.3918, allocations: 109 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.3918, allocations: 79.28 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3918, allocations: 4.094 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002969/0.3921, allocations: 4 kB / 1.067 GB, free: 11.61 MB / 0.8262 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.0002821/0.3924, allocations: 178.5 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.729e-05/0.3925, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3925, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.3925, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.3929, allocations: 0.5302 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.3932, allocations: 159.9 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.3934, allocations: 0.6731 MB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.3935, allocations: 7.922 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.3935, allocations: 7.438 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3935, allocations: 4 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of Templates: time 0.002702/0.3962, allocations: 295.4 kB / 1.069 GB, free: 9.719 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches