Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.0009148/0.0009148, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000882/0.000882, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8787/0.8787, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.455e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002577/0.002602, allocations: 1.29 MB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003775, allocations: 0.8258 MB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.003809, allocations: 4 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.003844, allocations: 0 / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.004131, allocations: 19.91 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.004339, allocations: 49.67 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.273e-05/0.004432, allocations: 19.94 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.004484, allocations: 7.969 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.004547, allocations: 8 kB / 0.9832 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.004643, allocations: 15.92 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.004664, allocations: 0 / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-05/0.004712, allocations: 12 kB / 0.9832 GB, free: 316 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.004761, allocations: 3.984 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.004787, allocations: 4 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.004907, allocations: 35.83 kB / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.004911, allocations: 0 / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.824e-06/0.004913, allocations: 0 / 0.9832 GB, free: 272 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004917, allocations: 3.938 kB / 0.9832 GB, free: 268 kB / 0.9323 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.0003435/0.005261, allocations: 246.4 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.005305, allocations: 15.97 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.005355, allocations: 106 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.005428, allocations: 84.17 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.00555, allocations: 185.1 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.005604, allocations: 150.9 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.005658, allocations: 154.9 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.989e-05/0.005718, allocations: 105.5 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.005742, allocations: 75.47 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.005788, allocations: 150.9 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.005834, allocations: 158.7 kB / 0.9846 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.005886, allocations: 154.5 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.006499, allocations: 425 kB / 0.9851 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.006584, allocations: 173.1 kB / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.006609, allocations: 84.14 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.00663, allocations: 75.28 kB / 0.9855 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.006668, allocations: 109.8 kB / 0.9856 GB, free: 13.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.006669, allocations: 0 / 0.9856 GB, free: 13.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.803e-05/0.006757, allocations: 29.7 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.006831, allocations: 130.6 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.006963, allocations: 113.8 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.006979, allocations: 25.7 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.007021, allocations: 88.16 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-06/0.007025, allocations: 4 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.007066, allocations: 21.66 kB / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.007165, allocations: 314.8 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/0.007188, allocations: 4 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.007229, allocations: 37.69 kB / 0.9863 GB, free: 12.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.007269, allocations: 16.8 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007271, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.007399, allocations: 41.69 kB / 0.9864 GB, free: 12.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.007418, allocations: 6.969 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.007427, allocations: 4 kB / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.007442, allocations: 128 / 0.9864 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.007445, allocations: 11.88 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.007451, allocations: 0 / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.007663, allocations: 0 / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-06/0.007673, allocations: 4 kB / 0.9864 GB, free: 12.81 MB / 0.948 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.0001043/0.007777, allocations: 193.1 kB / 0.9866 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.007823, allocations: 108.9 kB / 0.9867 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.007862, allocations: 104.5 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/0.007916, allocations: 184.3 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-05/0.00797, allocations: 184.1 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.571e-05/0.008016, allocations: 184.2 kB / 0.9873 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.008185, allocations: 376.2 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.008216, allocations: 109 kB / 0.9878 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.008247, allocations: 105 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.988e-05/0.008297, allocations: 180.2 kB / 0.988 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.008349, allocations: 180.3 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-05/0.008397, allocations: 180.2 kB / 0.9884 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.243e-05/0.00845, allocations: 180.2 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008571, allocations: 311.8 kB / 0.9888 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.008646, allocations: 108.9 kB / 0.9889 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.008717, allocations: 184.2 kB / 0.9891 GB, free: 9.828 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.008768, allocations: 112.9 kB / 0.9892 GB, free: 9.711 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.008817, allocations: 184.1 kB / 0.9894 GB, free: 9.523 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.008844, allocations: 109.2 kB / 0.9895 GB, free: 9.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.008883, allocations: 91.27 kB / 0.9896 GB, free: 9.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008883, allocations: 0 / 0.9896 GB, free: 9.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001537/0.009037, allocations: 4 kB / 0.9896 GB, free: 9.316 MB / 0.948 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.0004154/0.009452, allocations: 0.8187 MB / 0.9904 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.009519, allocations: 8 kB / 0.9904 GB, free: 8.465 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009521, allocations: 0 / 0.9904 GB, free: 8.465 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.009524, allocations: 7.984 kB / 0.9904 GB, free: 8.457 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.009775, allocations: 458.1 kB / 0.9909 GB, free: 8.008 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.01055, allocations: 1.295 MB / 0.9921 GB, free: 6.629 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.566e-05/0.01059, allocations: 59.3 kB / 0.9922 GB, free: 6.551 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.01061, allocations: 4 kB / 0.9922 GB, free: 6.547 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.01064, allocations: 12.48 kB / 0.9922 GB, free: 6.535 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.01064, allocations: 0 / 0.9922 GB, free: 6.535 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.02547, allocations: 1.936 MB / 0.9941 GB, free: 4.809 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.844, allocations: 15.84 kB / 0.9941 GB, free: 4.797 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.013239165768027]