Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_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.006782/0.006782, allocations: 102.2 kB / 15.73 MB, free: 6.062 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.001639/0.00164, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.045/2.045, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6782, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001944/0.6802, allocations: 1.243 MB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.681, allocations: 0.7196 MB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.6811, allocations: 0 / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.6811, allocations: 0 / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.6813, allocations: 20.42 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.761e-05/0.6814, allocations: 6.219 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.6814, allocations: 10.36 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.6815, allocations: 5.828 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.6815, allocations: 2.688 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.6816, allocations: 11.33 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.6816, allocations: 1.219 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.6817, allocations: 9.812 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.6817, allocations: 2.953 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.6818, allocations: 6.719 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.736e-05/0.6818, allocations: 16.12 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6818, allocations: 3.938 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6819, allocations: 0 / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6819, allocations: 0 / 1.089 GB, free: 3.848 MB / 0.8575 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.0002498/0.6821, allocations: 318.5 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6822, allocations: 9.094 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.6822, allocations: 110.8 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.6822, allocations: 77.34 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6824, allocations: 248 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6824, allocations: 152.6 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6824, allocations: 151.7 kB / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.542e-05/0.6825, allocations: 103 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6825, allocations: 83.22 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.6825, allocations: 158.5 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.6825, allocations: 152.3 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.6825, allocations: 150.6 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.6827, allocations: 447.9 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.6828, allocations: 170 kB / 1.092 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.6828, allocations: 92.06 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.6828, allocations: 76.91 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.6829, allocations: 106.5 kB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6829, allocations: 1.062 kB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.748e-05/0.6829, allocations: 35.09 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.683, allocations: 128.5 kB / 1.092 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.6831, allocations: 100.7 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.6831, allocations: 26.95 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.6831, allocations: 82.17 kB / 1.092 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.6832, allocations: 0 / 1.092 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.6832, allocations: 11.77 kB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6833, allocations: 313.1 kB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.6833, allocations: 4 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.6833, allocations: 6.031 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.6833, allocations: 75.28 kB / 1.093 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/0.6834, allocations: 76.59 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.182e-05/0.6834, allocations: 33.19 kB / 1.093 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.6835, allocations: 88.67 kB / 1.093 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.6835, allocations: 80.34 kB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.412e-05/0.6836, allocations: 159.8 kB / 1.093 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.6836, allocations: 77.2 kB / 1.093 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.396e-05/0.6836, allocations: 159.6 kB / 1.093 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.6838, allocations: 77.56 kB / 1.093 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.6838, allocations: 81.22 kB / 1.094 GB, free: 15.55 MB / 0.8731 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.0001051/0.6839, allocations: 267.8 kB / 1.094 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.684, allocations: 110.2 kB / 1.094 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.684, allocations: 106.7 kB / 1.094 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/0.6841, allocations: 182.1 kB / 1.094 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.226e-05/0.6841, allocations: 178.4 kB / 1.094 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-05/0.6842, allocations: 185.5 kB / 1.094 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.6844, allocations: 406.5 kB / 1.095 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.6844, allocations: 102.8 kB / 1.095 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.6845, allocations: 107 kB / 1.095 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.026e-05/0.6846, allocations: 181 kB / 1.095 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.6846, allocations: 185.9 kB / 1.095 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-05/0.6847, allocations: 178.4 kB / 1.096 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.193e-05/0.6847, allocations: 182.2 kB / 1.096 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.6849, allocations: 310.2 kB / 1.096 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.6849, allocations: 184.5 kB / 1.096 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.685, allocations: 182.4 kB / 1.096 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.6851, allocations: 110.9 kB / 1.097 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.6852, allocations: 182 kB / 1.097 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.6852, allocations: 106.8 kB / 1.097 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.6853, allocations: 80.12 kB / 1.097 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.6853, allocations: 0 / 1.097 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002573/0.6855, allocations: 5.578 kB / 1.097 GB, free: 11.92 MB / 0.8731 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.0004752/0.686, allocations: 0.827 MB / 1.098 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.949e-05/0.6861, allocations: 1.859 kB / 1.098 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6861, allocations: 0 / 1.098 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6861, allocations: 0 / 1.098 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.6864, allocations: 461.5 kB / 1.098 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6875, allocations: 1.568 MB / 1.1 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.6877, allocations: 0.6767 MB / 1.1 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.6877, allocations: 6.328 kB / 1.1 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.6878, allocations: 13.77 kB / 1.1 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.6878, allocations: 1.094 kB / 1.1 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.7085, allocations: 1.196 MB / 1.102 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/7.677, allocations: 15.45 kB / 1.102 GB, free: 8 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches