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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001646/0.001646, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001886/0.001886, allocations: 195 kB / 16.14 MB, free: 6.648 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.33 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3348, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002518/0.3373, allocations: 1.325 MB / 1.053 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3385, allocations: 0.7228 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.3385, allocations: 0 / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.3386, allocations: 3.938 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.3388, allocations: 7.984 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.339, allocations: 51.69 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.722e-05/0.339, allocations: 31.91 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3391, allocations: 3.984 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.3391, allocations: 15.94 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3393, allocations: 7.938 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3393, allocations: 4 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.3394, allocations: 15.97 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.3394, allocations: 4 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.3394, allocations: 11.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.898e-05/0.3395, allocations: 15.97 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3396, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3396, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3396, allocations: 3.938 kB / 1.054 GB, free: 6.629 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.0003447/0.3399, allocations: 335.7 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.34, allocations: 12.03 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.34, allocations: 80.12 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3402, allocations: 235.7 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/0.3403, allocations: 154.9 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3404, allocations: 158.9 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.649e-05/0.3405, allocations: 105.5 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.3405, allocations: 79.45 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.3406, allocations: 154.5 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.301e-05/0.3407, allocations: 150.6 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.3407, allocations: 154.6 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3411, allocations: 449.9 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.3412, allocations: 173.1 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.3412, allocations: 80.14 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3412, allocations: 75.28 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.3413, allocations: 113.8 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3413, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.866e-05/0.3414, allocations: 33.64 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3415, allocations: 130.6 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3416, allocations: 105.8 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3416, allocations: 29.69 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.3416, allocations: 84.08 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.3416, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.3417, allocations: 25.7 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3418, allocations: 314.8 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.3418, allocations: 4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.3419, allocations: 7.984 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.3419, allocations: 16.91 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3419, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.342, allocations: 53.52 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.342, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3421, allocations: 8.062 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3421, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-06/0.3421, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3421, allocations: 4.188 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.3422, allocations: 4 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3422, allocations: 4 kB / 1.057 GB, free: 3.121 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 0.0001243/0.3423, allocations: 194.6 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.3424, allocations: 101 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.3425, allocations: 124.4 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/0.3425, allocations: 180.3 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.3426, allocations: 176.3 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/0.3427, allocations: 184.2 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3429, allocations: 401.2 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.126e-05/0.343, allocations: 112.9 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-05/0.343, allocations: 101 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-05/0.3431, allocations: 180.3 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.3432, allocations: 184.1 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-05/0.3433, allocations: 180.3 kB / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-05/0.3433, allocations: 188.2 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.3435, allocations: 299.8 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.3436, allocations: 186.1 kB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.3437, allocations: 184.2 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3438, allocations: 108.9 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.3438, allocations: 184.3 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.3439, allocations: 104.9 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.3439, allocations: 87.27 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3439, allocations: 0 / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000236/0.3442, allocations: 4 kB / 1.061 GB, free: 15.51 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 (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.0002962/0.3445, allocations: 190.5 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.3445, allocations: 7.938 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3446, allocations: 4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3446, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.345, allocations: 0.5197 MB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.3452, allocations: 186.4 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3455, allocations: 0.677 MB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.3455, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.3455, allocations: 7.438 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3455, allocations: 0 / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.002329/0.3478, allocations: 427.3 kB / 1.063 GB, free: 13.45 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