Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_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.001053/0.001053, allocations: 87.03 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.001345/0.001345, 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.491/1.491, allocations: 223.2 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.917/2.917, allocations: 462.6 MB / 0.736 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005549/0.000555, allocations: 12.19 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3789, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00214/0.3812, allocations: 0.9861 MB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3826, allocations: 0.6993 MB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.3826, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.3827, allocations: 0 / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.3829, allocations: 7.984 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3832, allocations: 58.8 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.3833, allocations: 27.91 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.3833, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.3834, allocations: 11.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3836, allocations: 7.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3836, allocations: 7.984 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.81e-05/0.3836, allocations: 0 / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.3837, allocations: 7.984 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.3837, allocations: 29.7 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.3838, allocations: 16 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3838, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3838, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3838, allocations: 0 / 1.06 GB, free: 3.504 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.0003308/0.3842, allocations: 323.5 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3842, allocations: 12.03 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.3843, allocations: 75.28 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3845, allocations: 250.2 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.3846, allocations: 158.5 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.3847, allocations: 158.5 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.3848, allocations: 101 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.3848, allocations: 75.28 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.3849, allocations: 150.6 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.3849, allocations: 154.6 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.385, allocations: 154.6 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3853, allocations: 449.9 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.3854, allocations: 173.1 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.3855, allocations: 80.14 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.3855, allocations: 83.23 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.3856, allocations: 105.8 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3856, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.986e-05/0.3857, allocations: 33.64 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.3857, allocations: 126.7 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3859, allocations: 109.8 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3859, allocations: 25.7 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.386, allocations: 92.06 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.386, allocations: 3.938 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.386, allocations: 0 / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3861, allocations: 318.8 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.3861, allocations: 0 / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.3862, allocations: 8 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.451e-05/0.3862, allocations: 7.984 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3862, allocations: 0 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001168/0.3863, allocations: 45.8 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3863, allocations: 11.89 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3864, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3864, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3864, allocations: 0 / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3864, allocations: 3.984 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.3865, allocations: 4 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3865, allocations: 0 / 1.063 GB, free: 52 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.3867, allocations: 189.2 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.3867, allocations: 108.9 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.3868, allocations: 116.4 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.283e-05/0.3869, allocations: 180.3 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.968e-05/0.387, allocations: 180.3 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.149e-05/0.3871, allocations: 180.2 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.3874, allocations: 405.2 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/0.3874, allocations: 109 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.3875, allocations: 105 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.7e-05/0.3876, allocations: 184.2 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.3877, allocations: 180.2 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.259e-05/0.3878, allocations: 184.2 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-05/0.3879, allocations: 184.2 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.3881, allocations: 303.8 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3882, allocations: 186 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3884, allocations: 176.5 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3885, allocations: 116.9 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3886, allocations: 192.2 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.3886, allocations: 101 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.3887, allocations: 83.22 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3887, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002769/0.389, allocations: 4 kB / 1.066 GB, free: 12.43 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.0003122/0.3893, allocations: 194.4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.271e-05/0.3894, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3894, allocations: 3.938 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.3894, allocations: 4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.3899, allocations: 0.5146 MB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3903, allocations: 180 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3907, allocations: 0.6731 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.3907, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.3907, allocations: 7.438 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3907, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.003228/0.394, allocations: 389.6 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches