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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 148 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.0009202/0.0009202, allocations: 196.3 kB / 16.53 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.387/2.387, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.75 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2372, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002132/0.2394, allocations: 1.266 MB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.2403, allocations: 0.7387 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.2403, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.2403, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2405, allocations: 15.94 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2407, allocations: 43.86 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.2407, allocations: 23.97 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.2408, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.2408, allocations: 15.94 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2409, allocations: 15.91 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2409, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.241, allocations: 12 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.241, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.2411, allocations: 15.91 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.964e-05/0.2411, allocations: 19.98 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2411, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2411, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.2412, allocations: 0 / 1.055 GB, free: 6.125 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.0002731/0.2414, allocations: 335.7 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2415, allocations: 8.625 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.2415, allocations: 106 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.238e-05/0.2416, allocations: 88.06 kB / 1.056 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2417, allocations: 239.7 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.2417, allocations: 154.9 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.2418, allocations: 158.9 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.746e-05/0.2419, allocations: 105.5 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2419, allocations: 83.22 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.2419, allocations: 150.6 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.242, allocations: 150.6 kB / 1.057 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.862e-05/0.242, allocations: 154.5 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.2423, allocations: 453.9 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.408e-05/0.2423, allocations: 173.2 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.2424, allocations: 80.14 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2424, allocations: 79.28 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.2424, allocations: 109.8 kB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2424, allocations: 3.938 kB / 1.058 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.7e-05/0.2425, allocations: 37.58 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2426, allocations: 126.7 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.2426, allocations: 105.8 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2427, allocations: 25.7 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.2427, allocations: 84.12 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.2427, allocations: 0 / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.2427, allocations: 21.72 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.2428, allocations: 314.8 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.2428, allocations: 0 / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.2429, allocations: 11.98 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.2429, allocations: 16.86 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2429, allocations: 3.938 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.118e-05/0.243, allocations: 49.58 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.243, allocations: 12.06 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.243, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2431, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-06/0.2431, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.2431, allocations: 3.938 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.2431, allocations: 4 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.2432, allocations: 3.984 kB / 1.058 GB, free: 2.496 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 7.838e-05/0.2432, allocations: 186.7 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.2433, allocations: 116.9 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.2433, allocations: 104.5 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.771e-05/0.2434, allocations: 184.2 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/0.2434, allocations: 180.2 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/0.2435, allocations: 176.8 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.2437, allocations: 409.2 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.2437, allocations: 105 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.2437, allocations: 101 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.012e-05/0.2438, allocations: 188.3 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.2438, allocations: 180.3 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-05/0.2439, allocations: 188.4 kB / 1.06 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.657e-05/0.2439, allocations: 180.3 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.2441, allocations: 311.8 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.2441, allocations: 186.1 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.2442, allocations: 184.1 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.2443, allocations: 101 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2443, allocations: 180.3 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.2444, allocations: 108.9 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.2444, allocations: 87.27 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2444, allocations: 0 / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002074/0.2446, allocations: 7.938 kB / 1.062 GB, free: 14.88 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.0004131/0.245, allocations: 0.8311 MB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.526e-05/0.2451, allocations: 7.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2451, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.2451, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2454, allocations: 464.9 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008026/0.2462, allocations: 1.287 MB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2464, allocations: 0.6768 MB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.2464, allocations: 8 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.2465, allocations: 11.38 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2465, allocations: 0 / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9082/1.155, allocations: 1.266 MB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.79, allocations: 12.91 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > 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