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.007658/0.007658, allocations: 97.75 kB / 15.73 MB, free: 5.949 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.001928/0.001928, allocations: 194 kB / 16.67 MB, free: 5.871 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.862/1.862, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.102/3.102, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002954/0.002954, allocations: 64.12 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296/1.299, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003545/1.302, allocations: 1.254 MB / 1.167 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001661/1.304, allocations: 0.7218 MB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/1.304, allocations: 0 / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/1.304, allocations: 0 / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/1.304, allocations: 11.92 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/1.304, allocations: 15.92 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.066e-05/1.305, allocations: 7.938 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/1.305, allocations: 0 / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/1.305, allocations: 7.984 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/1.305, allocations: 7.984 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/1.305, allocations: 4 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/1.305, allocations: 8 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/1.305, allocations: 4 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/1.305, allocations: 3.938 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/1.305, allocations: 15.97 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.305, allocations: 0 / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.555e-06/1.305, allocations: 7.938 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.305, allocations: 0 / 1.168 GB, free: 1.645 MB / 0.8887 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.0005514/1.306, allocations: 319.3 kB / 1.168 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.306, allocations: 16.03 kB / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.591e-05/1.306, allocations: 106 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/1.306, allocations: 76.22 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/1.306, allocations: 243.7 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.306, allocations: 154.9 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/1.307, allocations: 150.9 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.307, allocations: 105.5 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.488e-05/1.307, allocations: 79.22 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/1.307, allocations: 150.6 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-05/1.307, allocations: 154.5 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/1.307, allocations: 150.6 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/1.308, allocations: 453.9 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/1.308, allocations: 169.1 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/1.308, allocations: 84.14 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/1.308, allocations: 83.22 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.223e-05/1.308, allocations: 105.8 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/1.308, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001243/1.308, allocations: 33.58 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.308, allocations: 126.7 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.308, allocations: 109.8 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/1.308, allocations: 25.7 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/1.308, allocations: 80.14 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/1.308, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/1.309, allocations: 13.72 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.309, allocations: 314.8 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/1.309, allocations: 0 / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/1.309, allocations: 7.922 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/1.309, allocations: 75.28 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-05/1.309, allocations: 79.28 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.261e-05/1.309, allocations: 33.66 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/1.309, allocations: 87.22 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/1.309, allocations: 75.28 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/1.309, allocations: 158.5 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/1.309, allocations: 75.28 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-05/1.309, allocations: 162.5 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/1.31, allocations: 83.28 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/1.31, allocations: 75.28 kB / 1.172 GB, free: 13.27 MB / 0.9044 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.0002083/1.31, allocations: 268.4 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/1.31, allocations: 108.9 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/1.31, allocations: 108.1 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/1.31, allocations: 184.2 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/1.31, allocations: 176.5 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.31, allocations: 180.3 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/1.311, allocations: 413.2 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-05/1.311, allocations: 101 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/1.311, allocations: 104.9 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/1.311, allocations: 184.2 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.311, allocations: 184.2 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001071/1.311, allocations: 184.2 kB / 1.174 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/1.312, allocations: 176.3 kB / 1.174 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/1.312, allocations: 307.8 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/1.312, allocations: 186 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.312, allocations: 188.2 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.312, allocations: 101 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.312, allocations: 180.2 kB / 1.175 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/1.312, allocations: 112.9 kB / 1.175 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.717e-05/1.312, allocations: 79.28 kB / 1.176 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.313, allocations: 0 / 1.176 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004851/1.313, allocations: 4.984 kB / 1.176 GB, free: 9.582 MB / 0.9044 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.0009227/1.314, allocations: 0.8309 MB / 1.176 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.224e-05/1.314, allocations: 4 kB / 1.176 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.314, allocations: 0 / 1.176 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/1.314, allocations: 4 kB / 1.176 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/1.315, allocations: 457.9 kB / 1.177 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.317, allocations: 1.564 MB / 1.178 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.317, allocations: 0.669 MB / 1.179 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.374e-05/1.317, allocations: 8.031 kB / 1.179 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/1.317, allocations: 11.47 kB / 1.179 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of SimCode: time 1.002e-06/1.317, allocations: 0 / 1.179 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/1.386, allocations: 1.201 MB / 1.18 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/13.41, allocations: 12.89 kB / 1.18 GB, free: 4.891 MB / 0.9044 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