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 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.004082/0.004086, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001214/0.001214, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2801, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.0023/0.2825, allocations: 1.243 MB / 1.243 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2835, allocations: 0.7192 MB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.2836, allocations: 0 / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.2836, allocations: 4 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2838, allocations: 15.92 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.476e-05/0.2839, allocations: 4 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.2839, allocations: 11.98 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.284, allocations: 7.984 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.284, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2841, allocations: 4 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2841, allocations: 0 / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.2842, allocations: 15.92 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.2842, allocations: 0 / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.2843, allocations: 11.92 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.814e-05/0.2844, allocations: 11.98 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2844, allocations: 3.938 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2844, allocations: 0 / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.2844, allocations: 4 kB / 1.243 GB, free: 8.129 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.0003331/0.2847, allocations: 323.5 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2848, allocations: 8.031 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.2848, allocations: 106 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.2849, allocations: 76.22 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.2851, allocations: 247.7 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.2851, allocations: 150.9 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.2852, allocations: 154.9 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.796e-05/0.2853, allocations: 105.5 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.2853, allocations: 83.22 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.2854, allocations: 150.6 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/0.2855, allocations: 150.6 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.2855, allocations: 154.6 kB / 1.245 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.2859, allocations: 449.9 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.286, allocations: 177.1 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.286, allocations: 84.14 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.286, allocations: 79.28 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.2861, allocations: 105.8 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2861, allocations: 0 / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.507e-05/0.2862, allocations: 33.64 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.2863, allocations: 130.7 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2864, allocations: 101.8 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2864, allocations: 25.7 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.2864, allocations: 88.14 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-06/0.2864, allocations: 0 / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.2865, allocations: 9.719 kB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2866, allocations: 314.8 kB / 1.247 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.2866, allocations: 0 / 1.247 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.2866, allocations: 4 kB / 1.247 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.2867, allocations: 75.28 kB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/0.2867, allocations: 79.28 kB / 1.247 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.911e-05/0.2868, allocations: 37.69 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.2868, allocations: 83.22 kB / 1.247 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/0.2869, allocations: 79.22 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.884e-05/0.287, allocations: 154.6 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.287, allocations: 83.31 kB / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-05/0.2871, allocations: 154.6 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2872, allocations: 79.28 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.2872, allocations: 87.22 kB / 1.247 GB, free: 3.742 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 (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.0001325/0.2874, allocations: 260.9 kB / 1.248 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.2874, allocations: 113 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.2875, allocations: 112 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.503e-05/0.2876, allocations: 180.2 kB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.483e-05/0.2877, allocations: 180.3 kB / 1.248 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.879e-05/0.2878, allocations: 188.2 kB / 1.248 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.288, allocations: 401.2 kB / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.663e-05/0.2881, allocations: 104.9 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.2881, allocations: 105 kB / 1.249 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-05/0.2882, allocations: 188.2 kB / 1.249 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.2883, allocations: 184.2 kB / 1.249 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.2884, allocations: 180.2 kB / 1.25 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.249e-05/0.2884, allocations: 184.2 kB / 1.25 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2886, allocations: 303.8 kB / 1.25 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.222e-05/0.2887, allocations: 186 kB / 1.25 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.2888, allocations: 180.2 kB / 1.25 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.2889, allocations: 108.9 kB / 1.251 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.289, allocations: 180.2 kB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.289, allocations: 105 kB / 1.251 GB, free: 152 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.2891, allocations: 87.22 kB / 1.251 GB, free: 64 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2891, allocations: 0 / 1.251 GB, free: 64 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002654/0.2893, allocations: 4 kB / 1.251 GB, free: 60 kB / 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.499/0.7883, allocations: 0.8181 MB / 1.252 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.618e-05/0.7884, allocations: 0.7812 kB / 1.252 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7884, allocations: 0.6562 kB / 1.252 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-06/0.7884, allocations: 9.391 kB / 1.252 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.7887, allocations: 458.9 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.7894, allocations: 1.564 MB / 1.254 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.553e-05/0.7895, allocations: 0.6735 MB / 1.254 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.7896, allocations: 2.328 kB / 1.254 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.7896, allocations: 10.8 kB / 1.254 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.7896, allocations: 2.594 kB / 1.254 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05439/0.844, allocations: 1.202 MB / 1.255 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.826, allocations: 11.44 kB / 1.256 GB, free: 11.92 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/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