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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.006707/0.006708, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001752/0.001752, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.735/2.735, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002588/0.2903, allocations: 1.262 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2915, allocations: 0.7289 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.2916, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.2916, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.2919, allocations: 31.84 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.2921, allocations: 39.44 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.2922, allocations: 23.92 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.2922, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.347e-05/0.2923, allocations: 19.91 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.2925, allocations: 11.94 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2925, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.2925, allocations: 11.98 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.2926, allocations: 11.98 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.2926, allocations: 7.938 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.2927, allocations: 23.91 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2927, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2927, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2928, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 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.0003411/0.2931, allocations: 335.4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2932, allocations: 8.031 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/0.2932, allocations: 114 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.2933, allocations: 84.17 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2934, allocations: 239.7 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.2935, allocations: 150.9 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.2935, allocations: 158.9 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.007e-05/0.2936, allocations: 105.5 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.2937, allocations: 83.22 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.2937, allocations: 154.6 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.2938, allocations: 150.6 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.2938, allocations: 150.6 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.2941, allocations: 449.9 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.2942, allocations: 173.1 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.2942, allocations: 80.14 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2943, allocations: 75.28 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.2943, allocations: 117.8 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2943, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.765e-05/0.2944, allocations: 33.58 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2945, allocations: 130.7 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2946, allocations: 105.8 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2946, allocations: 25.7 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.2947, allocations: 84.14 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.2947, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.2947, allocations: 21.67 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.2948, allocations: 314.8 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.2948, allocations: 7.938 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.2949, allocations: 8 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.2949, allocations: 20.84 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2949, allocations: 0 / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.295, allocations: 49.56 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2951, allocations: 7.938 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2951, allocations: 0 / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2951, allocations: 7.984 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.2951, allocations: 0 / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2951, allocations: 0 / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.2952, allocations: 4.125 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2952, allocations: 4 kB / 1.225 GB, free: 8.824 MB / 0.9825 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.661e-05/0.2953, allocations: 181.1 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.2954, allocations: 108.9 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.2954, allocations: 116.5 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-05/0.2955, allocations: 176.3 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.535e-05/0.2955, allocations: 180.3 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/0.2956, allocations: 188.5 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.2958, allocations: 401.2 kB / 1.226 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.2959, allocations: 112.9 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.2959, allocations: 101 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.43e-05/0.296, allocations: 192.1 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.296, allocations: 176.3 kB / 1.227 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.876e-05/0.2961, allocations: 188.3 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.778e-05/0.2962, allocations: 180.2 kB / 1.227 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2963, allocations: 307.8 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.2964, allocations: 186 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.2965, allocations: 184.2 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.2965, allocations: 104.9 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.2966, allocations: 184.2 kB / 1.228 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.2966, allocations: 104.9 kB / 1.228 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.2967, allocations: 91.28 kB / 1.228 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2967, allocations: 0 / 1.228 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002301/0.2969, allocations: 7.938 kB / 1.228 GB, free: 5.199 MB / 0.9825 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.0005727/0.2975, allocations: 0.8255 MB / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.2976, allocations: 7.938 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2976, allocations: 0 / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.2976, allocations: 3.938 kB / 1.229 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.298, allocations: 453.2 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.2989, allocations: 1.298 MB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2992, allocations: 0.6807 MB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.2992, allocations: 4 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.2992, allocations: 11.44 kB / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2992, allocations: 0 / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.3202, allocations: 1.295 MB / 1.233 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.617, allocations: 12.17 kB / 1.233 GB, free: 0.6367 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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