Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_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.004157/0.004157, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001242/0.001242, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.685/2.685, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6383/0.6402, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002297/0.6426, allocations: 1.249 MB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.6437, allocations: 0.7388 MB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.6437, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.6437, allocations: 7.922 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.6439, allocations: 15.92 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.6441, allocations: 44.67 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.6442, allocations: 19.92 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.6443, allocations: 7.984 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.6443, allocations: 15.98 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.6444, allocations: 15.92 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.6445, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.6445, allocations: 11.92 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.6446, allocations: 4 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.6446, allocations: 15.92 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.034e-05/0.6447, allocations: 15.97 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6447, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6447, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.6447, allocations: 0 / 1.222 GB, free: 15.85 MB / 0.9512 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.0003436/0.6451, allocations: 334.1 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6451, allocations: 12.03 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.6452, allocations: 106 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.6452, allocations: 80.17 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.6454, allocations: 239.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.6455, allocations: 150.9 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.6456, allocations: 162.8 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.812e-05/0.6456, allocations: 105.5 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.6457, allocations: 83.16 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.6458, allocations: 154.6 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.6458, allocations: 154.6 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.6459, allocations: 150.6 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.6463, allocations: 454.9 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.6464, allocations: 165.1 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.6464, allocations: 88.08 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.6465, allocations: 75.28 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.6465, allocations: 109.8 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.6465, allocations: 0 / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.944e-05/0.6466, allocations: 33.64 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.6467, allocations: 130.7 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.6468, allocations: 105.8 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.6468, allocations: 25.7 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.6469, allocations: 80.14 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.6469, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.6469, allocations: 25.66 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6471, allocations: 310.8 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.6471, allocations: 11.94 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.6471, allocations: 7.984 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.6472, allocations: 12.86 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6472, allocations: 0 / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.6473, allocations: 49.8 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6473, allocations: 11.94 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.6473, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.6473, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.6473, allocations: 4 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.6474, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.6474, allocations: 3.938 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.6475, allocations: 0 / 1.226 GB, free: 12.24 MB / 0.9512 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.0001147/0.6476, allocations: 193.6 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.6477, allocations: 108.9 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.6477, allocations: 112.6 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.321e-05/0.6478, allocations: 180.2 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.672e-05/0.6479, allocations: 189.1 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.947e-05/0.648, allocations: 180.2 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.6483, allocations: 405.2 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.282e-05/0.6483, allocations: 105 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.6484, allocations: 108.9 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.169e-05/0.6484, allocations: 180.2 kB / 1.227 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.187e-05/0.6485, allocations: 184.1 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-05/0.6486, allocations: 176.3 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.387e-05/0.6487, allocations: 188.5 kB / 1.228 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.6489, allocations: 307.8 kB / 1.228 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.649, allocations: 186 kB / 1.228 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.6491, allocations: 184.4 kB / 1.228 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.6492, allocations: 113 kB / 1.229 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.6493, allocations: 188.2 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.6493, allocations: 101 kB / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.6494, allocations: 83.27 kB / 1.229 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6494, allocations: 4 kB / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002265/0.6496, allocations: 0 / 1.229 GB, free: 8.609 MB / 0.9512 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.0005926/0.6502, allocations: 0.8288 MB / 1.23 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.612e-05/0.6503, allocations: 15.98 kB / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6503, allocations: 0 / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.6503, allocations: 0 / 1.23 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.6507, allocations: 462 kB / 1.23 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.6519, allocations: 1.291 MB / 1.231 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6522, allocations: 0.6768 MB / 1.232 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.786e-05/0.6523, allocations: 4 kB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.6523, allocations: 7.438 kB / 1.232 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6523, allocations: 0 / 1.232 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.6755, allocations: 1.284 MB / 1.233 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.289, allocations: 11.78 kB / 1.233 GB, free: 4.062 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches