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.0008064/0.0008065, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 179.7 kB / 16.92 MB, free: 6.656 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.622/1.622, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 462.7 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 8.406 kB / 0.9034 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001466/0.336, allocations: 0.9628 MB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3373, allocations: 0.7034 MB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.3373, allocations: 0 / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.3373, allocations: 0 / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.3376, allocations: 11.92 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.761e-05/0.3376, allocations: 8 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.3377, allocations: 15.97 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.3378, allocations: 0 / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.3378, allocations: 8 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.338, allocations: 7.938 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.338, allocations: 0 / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.3381, allocations: 15.97 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.3381, allocations: 4 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.3382, allocations: 29.64 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.559e-05/0.3382, allocations: 11.98 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3382, allocations: 0 / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3382, allocations: 0 / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3383, allocations: 0 / 1.061 GB, free: 3.137 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.0002947/0.3386, allocations: 321.2 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3386, allocations: 11.97 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.3387, allocations: 84.16 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3388, allocations: 239.7 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.3389, allocations: 150.9 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.339, allocations: 150.9 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/0.339, allocations: 113.5 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3391, allocations: 75.47 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.3391, allocations: 158.5 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.3392, allocations: 150.6 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.3393, allocations: 150.6 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.3395, allocations: 449.9 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.417e-05/0.3396, allocations: 177.1 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.3397, allocations: 80.14 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3397, allocations: 75.28 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.3398, allocations: 109.8 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3398, allocations: 0 / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.848e-05/0.3398, allocations: 33.64 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.3399, allocations: 130.6 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.34, allocations: 101.8 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3401, allocations: 25.7 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.3401, allocations: 80.14 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-06/0.3401, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.3401, allocations: 9.844 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3403, allocations: 314.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.3403, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.3403, allocations: 7.938 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.3403, allocations: 75.28 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/0.3404, allocations: 75.28 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.027e-05/0.3404, allocations: 29.7 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.3405, allocations: 79.28 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/0.3405, allocations: 95.17 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.231e-05/0.3406, allocations: 154.6 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.699e-05/0.3406, allocations: 83.22 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.164e-05/0.3407, allocations: 150.6 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3408, allocations: 79.41 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.3408, allocations: 79.22 kB / 1.065 GB, free: 14.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.341, allocations: 268.7 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.341, allocations: 109 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.3411, allocations: 116 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-05/0.3412, allocations: 176.3 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.488e-05/0.3412, allocations: 176.3 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-05/0.3413, allocations: 184.2 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3415, allocations: 405.2 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/0.3416, allocations: 108.9 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.3416, allocations: 101 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.938e-05/0.3417, allocations: 184.2 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.3418, allocations: 184.1 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-05/0.3418, allocations: 184.3 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-05/0.3419, allocations: 184.2 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.342, allocations: 303.8 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.3421, allocations: 182.1 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.3422, allocations: 188.2 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.3423, allocations: 104.9 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3424, allocations: 180.2 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.3424, allocations: 108.9 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.3424, allocations: 79.28 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3425, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002505/0.3427, allocations: 4 kB / 1.068 GB, free: 11.21 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.0003087/0.343, allocations: 194.5 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.025e-05/0.3431, allocations: 0 / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3431, allocations: 3.938 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-06/0.3431, allocations: 4 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3435, allocations: 0.521 MB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.3437, allocations: 197.5 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.344, allocations: 0.6692 MB / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.344, allocations: 11.44 kB / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.344, allocations: 0 / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of Templates: time 0.001853/0.3459, allocations: 471.5 kB / 1.07 GB, free: 9.082 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/jenkins1/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