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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8915/0.8915, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.862/1.862, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.685e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003168/0.003205, allocations: 1.261 MB / 1.001 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.004596, allocations: 0.8033 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.004635, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.004682, allocations: 3.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.005084, allocations: 15.92 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.005192, allocations: 3.938 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.005268, allocations: 19.91 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.005349, allocations: 4 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.005426, allocations: 11.94 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.005533, allocations: 6.25 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.005551, allocations: 0 / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.005596, allocations: 11.92 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.266e-05/0.005659, allocations: 7.984 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.005682, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.687e-05/0.005779, allocations: 8 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.005782, allocations: 0 / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.203e-05/0.005794, allocations: 3.984 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.005799, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 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.0003476/0.006147, allocations: 244.7 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.006189, allocations: 13.34 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.006236, allocations: 118 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.006289, allocations: 80.17 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.006412, allocations: 185.1 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.006464, allocations: 150.9 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.00652, allocations: 150.9 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/0.006575, allocations: 105.5 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.006598, allocations: 75.47 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.006637, allocations: 150.9 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.006675, allocations: 154.7 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.006716, allocations: 162.5 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.006962, allocations: 417 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.007064, allocations: 169.1 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.007106, allocations: 88.06 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.007129, allocations: 75.28 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.007167, allocations: 113.8 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.007168, allocations: 0 / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 7.938e-05/0.007248, allocations: 33.62 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.007305, allocations: 130.6 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.00741, allocations: 97.86 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.007422, allocations: 29.7 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.00746, allocations: 84.14 kB / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.007463, allocations: 0 / 1.004 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.007488, allocations: 17.7 kB / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.007581, allocations: 310.8 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.00759, allocations: 0 / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/0.007616, allocations: 29.73 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.007643, allocations: 79.28 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/0.007663, allocations: 75.28 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.154e-05/0.007714, allocations: 33.67 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.007768, allocations: 87.28 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.007798, allocations: 79.25 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.832e-05/0.007857, allocations: 162.5 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/0.007879, allocations: 83.22 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.136e-05/0.00792, allocations: 150.6 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.008043, allocations: 83.22 kB / 1.006 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.008064, allocations: 79.33 kB / 1.006 GB, free: 7.098 MB / 0.9636 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.79e-05/0.008162, allocations: 264.4 kB / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.008208, allocations: 108.9 kB / 1.006 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.008254, allocations: 104.1 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/0.0083, allocations: 180.3 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.177e-05/0.008362, allocations: 188.1 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.42e-05/0.008426, allocations: 176.3 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.008591, allocations: 380.2 kB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.008621, allocations: 101 kB / 1.007 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.008651, allocations: 105 kB / 1.007 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.505e-05/0.008706, allocations: 180.2 kB / 1.007 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.008756, allocations: 184.2 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-05/0.008805, allocations: 184.2 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.855e-05/0.008854, allocations: 184.1 kB / 1.008 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.008967, allocations: 303.8 kB / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.009028, allocations: 109 kB / 1.008 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.009098, allocations: 188.2 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.009152, allocations: 105 kB / 1.009 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.009204, allocations: 188.1 kB / 1.009 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.009229, allocations: 101 kB / 1.009 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.009272, allocations: 83.28 kB / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009272, allocations: 0 / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001739/0.009446, allocations: 4 kB / 1.009 GB, free: 3.547 MB / 0.9636 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.0005509/0.009997, allocations: 0.8242 MB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.299e-05/0.01005, allocations: 0 / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.01005, allocations: 4 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.01006, allocations: 4 kB / 1.01 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01033, allocations: 455.6 kB / 1.01 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.0114, allocations: 1.563 MB / 1.012 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.845e-05/0.01145, allocations: 59.34 kB / 1.012 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.01147, allocations: 7.875 kB / 1.012 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.01151, allocations: 16.53 kB / 1.012 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of SimCode: time 1.643e-06/0.01151, allocations: 4.094 kB / 1.012 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.03315, allocations: 1.833 MB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.066, allocations: 12.19 kB / 1.014 GB, free: 14.86 MB / 0.9792 GB " [Timeout remaining time 293] (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 800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.57704639621079]