Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_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.004301/0.004301, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001052/0.001052, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.339/1.339, 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 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2718, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002516/0.2743, allocations: 1.229 MB / 1.167 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2755, allocations: 0.7313 MB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.2755, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.2756, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.2758, allocations: 7.938 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.375e-05/0.2759, allocations: 19.98 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.276, allocations: 7.984 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.276, allocations: 0 / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.364e-05/0.2761, allocations: 7.938 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2762, allocations: 4 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2762, allocations: 0 / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.694e-05/0.2763, allocations: 15.91 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.2763, allocations: 4 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.2764, allocations: 0 / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.2765, allocations: 20.14 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2765, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2765, allocations: 4 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2765, allocations: 0 / 1.168 GB, free: 5.203 MB / 0.92 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.0003321/0.2768, allocations: 315.5 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2769, allocations: 12.03 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.277, allocations: 106 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2771, allocations: 80.22 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.2773, allocations: 247.6 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.2773, allocations: 158.9 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.994e-05/0.2774, allocations: 150.9 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.2775, allocations: 109.5 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.2775, allocations: 79.22 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.2776, allocations: 154.5 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.2777, allocations: 150.6 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.229e-05/0.2777, allocations: 162.6 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.278, allocations: 441.9 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/0.2781, allocations: 173.1 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.2782, allocations: 88.12 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.2782, allocations: 79.28 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.2783, allocations: 105.8 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.2783, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.309e-05/0.2784, allocations: 29.64 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2784, allocations: 126.7 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.2785, allocations: 109.8 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2785, allocations: 25.7 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.2786, allocations: 84.14 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.2786, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.2786, allocations: 13.72 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.2787, allocations: 310.8 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.2787, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.2788, allocations: 4 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.2788, allocations: 79.22 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.2788, allocations: 79.28 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.067e-05/0.2789, allocations: 37.67 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.2789, allocations: 89.25 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.2789, allocations: 83.27 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.302e-05/0.279, allocations: 150.6 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.179e-05/0.279, allocations: 75.28 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.363e-05/0.2791, allocations: 158.5 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.2792, allocations: 79.28 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2792, allocations: 83.22 kB / 1.172 GB, free: 0.8125 MB / 0.92 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 9.776e-05/0.2793, allocations: 264.4 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.2794, allocations: 105.1 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.2794, allocations: 108.1 kB / 1.173 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/0.2795, allocations: 188.3 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.727e-05/0.2796, allocations: 180.3 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/0.2796, allocations: 184.2 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.2798, allocations: 397.2 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.2799, allocations: 108.9 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.2799, allocations: 101 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.413e-05/0.28, allocations: 188.2 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/0.28, allocations: 184.2 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.992e-05/0.2801, allocations: 176.3 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-05/0.2802, allocations: 184.2 kB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.2803, allocations: 307.8 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.2804, allocations: 186 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.2804, allocations: 188.2 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.2805, allocations: 108.9 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.2806, allocations: 180.3 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2806, allocations: 105 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.2807, allocations: 87.27 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2807, allocations: 3.938 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002601/0.2809, allocations: 0 / 1.176 GB, free: 13.13 MB / 0.9356 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.0005245/0.2815, allocations: 0.8199 MB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.402e-05/0.2815, allocations: 4 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2815, allocations: 0 / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.2815, allocations: 7.875 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.2819, allocations: 459.7 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.2829, allocations: 1.56 MB / 1.178 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2832, allocations: 0.6768 MB / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.2832, allocations: 0 / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.2832, allocations: 7.438 kB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2832, allocations: 0 / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3015, allocations: 1.202 MB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.414, allocations: 15 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches