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.001382/0.001382, allocations: 108.9 kB / 16.37 MB, free: 6.016 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.001505/0.001506, allocations: 197.3 kB / 17.31 MB, free: 5.613 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.39 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2788, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002586/0.2815, allocations: 1.27 MB / 1.028 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2825, allocations: 0.7333 MB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.2825, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.2826, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2828, allocations: 20.06 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.283, allocations: 43.86 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.2831, allocations: 19.98 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.2832, allocations: 7.938 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.2832, allocations: 15.92 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2834, allocations: 11.98 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2834, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.2834, allocations: 7.984 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.2835, allocations: 11.94 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.2835, allocations: 7.984 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.2836, allocations: 27.84 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2836, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2836, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2836, allocations: 0 / 1.029 GB, free: 15.82 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.0003162/0.284, allocations: 335.4 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.284, allocations: 8.031 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.2841, allocations: 80.12 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.2842, allocations: 239.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.2843, allocations: 154.9 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.2843, allocations: 150.9 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.861e-05/0.2844, allocations: 109.5 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.2844, allocations: 79.47 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.2845, allocations: 154.5 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.692e-05/0.2845, allocations: 154.6 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.2846, allocations: 150.6 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.2849, allocations: 454 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.552e-05/0.285, allocations: 173.1 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.285, allocations: 80.14 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.285, allocations: 75.28 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2851, allocations: 109.8 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2851, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.2852, allocations: 41.58 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.2852, allocations: 126.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2853, allocations: 105.8 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2853, allocations: 29.64 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.2854, allocations: 80.14 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.2854, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2854, allocations: 29.69 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.2855, allocations: 314.8 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.2856, allocations: 4 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.2856, allocations: 7.984 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.2856, allocations: 12.86 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2856, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.2857, allocations: 53.53 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2858, allocations: 4 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2858, allocations: 8.062 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2858, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.2858, allocations: 4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2858, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.2859, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.2859, allocations: 0 / 1.032 GB, free: 12.33 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/0.286, allocations: 189.1 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.2861, allocations: 104.9 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.2861, allocations: 120.4 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/0.2862, allocations: 180.3 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-05/0.2862, allocations: 184.4 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/0.2863, allocations: 176.3 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2865, allocations: 409.2 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/0.2865, allocations: 108.9 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.2866, allocations: 105 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.323e-05/0.2866, allocations: 180.4 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.2867, allocations: 184.2 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.162e-05/0.2867, allocations: 176.3 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-05/0.2868, allocations: 196.2 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.2869, allocations: 303.8 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.287, allocations: 182 kB / 1.035 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2871, allocations: 188.2 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.2871, allocations: 112.9 kB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.2872, allocations: 180.3 kB / 1.035 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.2873, allocations: 104.9 kB / 1.035 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.2873, allocations: 91.2 kB / 1.035 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2873, allocations: 0 / 1.035 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002412/0.2875, allocations: 4 kB / 1.035 GB, free: 8.703 MB / 0.8106 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.000253/0.2878, allocations: 194.4 kB / 1.036 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.2879, allocations: 8 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2879, allocations: 0 / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.2879, allocations: 0 / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.2882, allocations: 451.7 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.2885, allocations: 172.9 kB / 1.036 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2887, allocations: 0.6807 MB / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.2887, allocations: 0 / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.2887, allocations: 7.438 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2887, allocations: 0 / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of Templates: time 0.00225/0.291, allocations: 430.4 kB / 1.037 GB, free: 6.727 MB / 0.8106 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 -s gbode -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/jenkins1/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