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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007735/0.007735, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.00215/0.00215, allocations: 196 kB / 16.68 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2771, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002201/0.2793, allocations: 1.264 MB / 1.243 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2803, allocations: 0.731 MB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.2804, allocations: 0 / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.2804, allocations: 0 / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2806, allocations: 15.92 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.2808, allocations: 51.86 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.12e-05/0.2809, allocations: 19.92 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.956e-05/0.2809, allocations: 3.938 kB / 1.243 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.281, allocations: 15.97 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2811, allocations: 17.83 kB / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2811, allocations: 0 / 1.244 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.2811, allocations: 11.98 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.2812, allocations: 3.984 kB / 1.244 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.2812, allocations: 7.938 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.2813, allocations: 27.97 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2813, allocations: 0 / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2813, allocations: 0 / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2813, allocations: 0 / 1.244 GB, free: 8.02 MB / 0.9981 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.0003277/0.2817, allocations: 327.4 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2817, allocations: 12.03 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.629e-05/0.2818, allocations: 110 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.2818, allocations: 88.16 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.282, allocations: 243.6 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.2821, allocations: 150.9 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.2822, allocations: 154.9 kB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.749e-05/0.2822, allocations: 109.5 kB / 1.245 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.2823, allocations: 79.22 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.2823, allocations: 150.6 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.2824, allocations: 150.6 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.2825, allocations: 154.5 kB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.2828, allocations: 453.9 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.2829, allocations: 173.1 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.2829, allocations: 80.14 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.283, allocations: 75.28 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.283, allocations: 109.8 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.283, allocations: 0 / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.277e-05/0.2831, allocations: 37.56 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.2832, allocations: 130.7 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2833, allocations: 109.8 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2833, allocations: 25.7 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2834, allocations: 84.14 kB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.2834, allocations: 0 / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2834, allocations: 21.7 kB / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2836, allocations: 318.8 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.2836, allocations: 0 / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.2836, allocations: 12 kB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.2837, allocations: 16.84 kB / 1.247 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2837, allocations: 7.875 kB / 1.247 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.985e-05/0.2838, allocations: 41.66 kB / 1.247 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2838, allocations: 7.938 kB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2838, allocations: 4.125 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.2838, allocations: 0 / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.2838, allocations: 0 / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2838, allocations: 3.984 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.2839, allocations: 4 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2839, allocations: 0 / 1.247 GB, free: 4.398 MB / 0.9981 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.0001104/0.284, allocations: 193.1 kB / 1.247 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.2841, allocations: 108.9 kB / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.2842, allocations: 112.5 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.047e-05/0.2843, allocations: 180.3 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.616e-05/0.2843, allocations: 180.3 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-05/0.2844, allocations: 180.3 kB / 1.248 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.2847, allocations: 409.2 kB / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/0.2847, allocations: 105 kB / 1.248 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.2848, allocations: 101 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/0.2849, allocations: 192.1 kB / 1.249 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/0.2849, allocations: 180.3 kB / 1.249 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.623e-05/0.285, allocations: 184.2 kB / 1.249 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.339e-05/0.2851, allocations: 176.3 kB / 1.249 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.2853, allocations: 311.8 kB / 1.249 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.2854, allocations: 186 kB / 1.25 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.2855, allocations: 184.1 kB / 1.25 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.2855, allocations: 101 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.2856, allocations: 184.2 kB / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.2857, allocations: 116.9 kB / 1.25 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.2857, allocations: 83.53 kB / 1.25 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2857, allocations: 0 / 1.25 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002273/0.286, allocations: 7.938 kB / 1.25 GB, free: 0.7695 MB / 0.9981 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.4683/0.7543, allocations: 0.8208 MB / 1.251 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.7545, allocations: 7.562 kB / 1.251 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7545, allocations: 0.875 kB / 1.251 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.7545, allocations: 0.5156 kB / 1.251 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7547, allocations: 461.2 kB / 1.251 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.7555, allocations: 1.286 MB / 1.253 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.7555, allocations: 0.6755 MB / 1.253 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.7556, allocations: 2.562 kB / 1.253 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.7556, allocations: 10.58 kB / 1.253 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.7556, allocations: 0 / 1.253 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.7778, allocations: 1.29 MB / 1.255 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.864/9.642, allocations: 12 kB / 1.255 GB, free: 13.21 MB / 0.9981 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 400 --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